Hangman
I would like you to create your own version of the classic game of Hangman. You will need to get a random word out of an array of available words, display the length of the word, give the user X amount of lives and if they guess correctly you need to display the word with the letters they currently know.
You need to validate their input appropriately and remember to make it user friendly! By this i mean display everything nicely and use comments that tell the user what to do. Below is come code to get you started.
/**************************************************************************/ def errorCheck(): return #Boolean def displayWord(): return def searchForLetterInWord(): return #Position of letter - Have a number assigned for absent letters def playGame(): return /**************************************************************************/</pre>
Good Luck!!

You need to log in or create an account to submit code!
Output: (clear)











