Introduction to Object-oriented Programming
- slide 22 : 22
An object-oriented program: Hangman
Some (incomplete) classes in an object-oriented Hangman Program
The class Puzzle.
The class HighScoreEntry.
The class Player.
The class PuzzleCollection.
The class HighScoreList.
The class HangmanGame.
The imperative counterpart
A similar example: MiniBank (in Danish)