Hangman Assignment

Marks: 40

 

            You are to make a program that plays hangman. Your program will read from a file filled with words and short phrases. The program will display an underscore for each letter in the word or phrase. The user will be allowed to guess a letter. If the guess is right then fill in all occurrences of the letter in the word. If it is wrong then display a body part. The program will also maintain a list of letters that were already guessed, so the user will not guess them again.

 

Evaluation

/6 - comments 

/6- graphics     

/3 - handles 2 letters in word

/3 – pick word 

/4 - list of guesses

/4 - handles win / loss

/3 - place blanks

/4 - add body pary

/3 - same letter guessed twice

/4 - place letter in word