Description: This game provides the framework for a future version with computer play. Here we ll define the basic drawing strategy, an array of 9 TPiece objects defining the gallows and hanging man. A TList component is an ideal place to keep a list of objects - HangManList is a TList containing the parts of the drawing in the order that they should be drawn.
Initially we get a secret word the hangman - The passwordchar property is optionally used to hide the word prying eyes as it is being entered - the same technique used in password dialogs. Then the convict makes letter guesses until he wins (completes the secret word) or loses (completes the drawing).
To Search:
File list (Check if you may need any files):
Hangman1.res
Hangman1.dpr
U_About.dfm
U_About.pas
U_HangMan1.dfm
U_HangMan1.pas