This game takes a random word from a list, gives you five prompts to guess letters in the word, and then it shows you a "masked word," filling in the letters you've guessed.
Say the word is "hockey" and the user guesses: 'h,' 'e,' 't,' 'r,' and 's.'The masked word shown would be h---e- . Then the user gets one try to guess that word.
More words can be added to the game by adding an element into the "words" variable. More guesses can also be added. (See comments)