22a. Hangman Project

Make the classic game of hangman.

The game of hangman a classic guess-the-word game. You can try hangman online, but do not play too long - just learn the rules.

Check in

  • Illustrations and model.
  • Key handler and logic helper function: (string-contains-letter? str letter).
  • Draw handler and define/contract (if discussed in class).
  • Completed project.

Steps


22a. Hangman Outline

Outline of everything to do for hangman project.

22a. Hangman Images

How to load a sequence of images into DrRacket.

22a. Hangman Key Handler

Every keypress is a guess - adjust the model accordingly.

22a. Hangman DH Warmup

22a. Hangman Draw Handler

Last modified August 18, 2023: 2022-2023 End State (7352e87)