Plays a simple game of hangman and gives the user eight guesses.