The teachpack master.ss
provides the single operation
master
, which implements a simple GUI selecting two colors,
evaluating the two guesses, and displaying an answer. The operation
consumes the function check-guess
and then plays
TeachMasterMind. The function check-guess
is responsible for
comparing the color guesses of a player with the (random) choices of
master.
The teachpack provides only one operation: