/Hangman-Game

Hangman is a paper and pencil guessing game for two or more players. One player thinks of a word, phrase or sentence and the other(s) tries to guess it by suggesting letters within a certain number of guesses.

Primary LanguagePython

Hangman Game

Hangman is an old school favorite, a word game where the goal is simply to find the missing word or words.

You will be presented with a number of blank spaces representing the missing letters you need to find.

Use the keyboard to guess a letter (I recommend starting with vowels).

If your chosen letter exists in the answer, then all places in the answer where that letter appear will be revealed.

After you've revealed several letters, you may be able to guess what the answer is and fill in the remaining letters.

Be warned, every time you guess a letter wrong you loose a life and the hangman begins to appear, piece by piece.

Solve the puzzle before the hangman dies.



Illustrating a player trying to guess the word hangman using a strategy based solely on letter frequency. As the player continues, a part of the stick figure on the noose is added. Once a full body is drawn, the game is over, and the player lost.

0
Hangman Game Word: hangman
Guess: E
Misses:

1
Hangman Game Word: _ _ _ _ _ _ _
Guess: T
Misses: e

2
Hangman Game Word: _ _ _ _ _ _ _
Guess: A
Misses: e, t

3
Hangman Game Word: _ A _ _ _ A _
Guess: O
Misses: e, t

4
Hangman Game Word: _ A _ _ _ A _
Guess: I
Misses: e, o, t

5
Hangman Game Word: _ A _ _ _ A _
Guess: S
Misses: e, i, o, t

6
Hangman Game Word: _ A _ _ _ A _
Guess: N
Misses: e, i, o, s, t

7
Hangman Game Word: _ A N _ _ A N
Guess: R
Misses: e ,i, o, s, t

8
Hangman Game Word: _ A N _ _ A N
Guess:
Misses: e, i, o, r, s, t

The guessing player has lost this game as the diagram had been completed before all the letters were guessed.