Hangman is a game where a player enters a letter and the game checks to see if that letter is within a secret word. When a letter is found that letter is revealed to the player and they can make their next guess. If the word does not contain the guessed letter, the player receives 1 pip. When the player receives the 6th pip the player looses.
Write a pseudcode program that plays the above game.
For your convenience:
Assume there is a file called words.dat in your current working directory. This file contains 1000 words.
This project is comprehensive and covers 80% of all the material we cover in class. As such it will represent 1/3 of your grade. Note there will be no final exam.
For those wishing for an extra challenge display the askii person based on pips.
As each pip is earned a new part is revealed.