File tree 1 file changed +13
-0
lines changed
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change
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.
You can’t perform that action at this time.
0 commit comments