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 program check-guess and then plays
TeachMasterMind. The program check-guess is responsible for
comparing the color guesses of a player with the (random) choices of
master.
The teachpack provides only one operation:
master.ss . Execute
and play as follows:
> (master check-guess) ...