On this page:
go

1.9 Playing Hangman: "hangman-play.rkt"

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

The teachpack implements the Hangman 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.