|
|
A structured program: Hangman |
A sketch of Hangman 2006 - seen as a structured program | In this lecture we start out by showing a structured program for the well-known Hangmang game. In the hangman game the player is supposed to guess the letters of word or word phrase outline. The game is similar to the TV-game Wheel of Fortune. Each erroneous guess in Hangman is punished. The ultimate punishment is to be sent to the gallows. At the end of the lecture, we will outline an object-oriented version of the Hangman program. |
Etc., etc... |
|