Skip to content

Commit ba5de3d

Browse files
authored
Add files via upload
1 parent d6e1ef4 commit ba5de3d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

How Hangman Works.txt

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
How Hangman Works
2+
3+
1. Word Selection: The game randomly picks a word from a predefined list.
4+
2. Display: The game displays a series of underscores, representing each letter in the word.
5+
3. Guessing: The player takes turns guessing letters.
6+
4. Correct Guess: If the guessed letter is in the word, its position(s) are revealed.
7+
5. Incorrect Guess: If the guessed letter is not in the word, the player loses a life.
8+
6. Lives: The player typically starts with a set number of lives (e.g., 6).
9+
7. Hangman Visualization: With each incorrect guess, a part of a stick figure is drawn, representing the hanged man.
10+
8. Win Condition: The player wins if they correctly guess all letters before running out of lives.
11+
9. Loss Condition: The player loses if the hangman is fully drawn before the word is guessed.
12+
13+
The game continues until either the player wins or loses.

0 commit comments

Comments
 (0)