15 lines
491 B
Racket
15 lines
491 B
Racket
#lang scribble/doc
|
|
|
|
@(require scribble/manual "shared.rkt" (for-label racket teachpack/htdp/master))
|
|
|
|
@teachpack["master-play"]{Playing MasterMind}
|
|
|
|
@defmodule[#:require-form beginner-require htdp/master-play]
|
|
|
|
The teachpack implements the MasterMind game so that students can play the
|
|
game and get an understanding of what we expect from them.
|
|
|
|
@defproc[(go [name symbol?]) true]{
|
|
chooses a ``secret'' three-letter word, opens a canvas and a menu,
|
|
and asks the player to guess the word.}
|