Cmpsc 101, Project : Hangman
Write a program ( filename : hangman.pl ) which can be used to play
the classical hangman game.
- It must read in a word typed in by the user without the word being
seen on the monitor.
- It must enter a loop and at each looping three items should be shown :
- A sketch of the present status of the hangman, created by suitable
print statements
- The letters of the word guessed already correctly with underscores
for the letters no already guessed.
- Request to enter another letter
- Appropriate response once the hangman is complete or the user has
guessed the word, whichever comes first.
Zig Herzog; hgn@psu.edu
Send a Note to Zig
Last revised: 12/02/04