Hangman Game – Python
A word is preassigned for the user to guess within a set amount of tries
The word is displayed as a series of dashes
The user guesses letter by letter.
If the users letter is within the word, the word is printed with the users letter is the correct position
If the user guesses the word before the guesses run out a congratulatory message is displayed
If the user fails and runs out of guesses game over is displayed and the game ends
Top comments (0)