Introduction - If you have any usage issues, please Google them yourself
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).