22a. Hangman Outline
Use define/contract
for all of your functions. Write two check
expects for every non-trivial function.
- Three illustrations of “action” that should occur in the game. Explain what they are.
- Model
- Top-down design.
- Image sequence and loading images into Racket.
Key-handler
- Purpose
- Examples: at least two (which become tests)
- Write function.
Draw-handler
- Purpose
- Illustrations on paper (two) - easier than making computer examples.
- Examples: at least two (which will become tests)
- Write function.
Final screens: win and lose.