On this page:
go

1.6 Playing MasterMind: "master-play.rkt"🔗ℹ

 (require htdp/master-play) package: htdp-lib

The teachpack implements the MasterMind game so that students can play the game and get an understanding of what we expect from them.

procedure

(go name)  true

  name : symbol?
chooses a “secret” three-letter word, opens a canvas and a menu, and asks the player to guess the word.