Step 2
TirSystem/github-action: Sync GitHub mirror metadata / sync-metadata (push) Successful in 5s

Replacing blanks with guesses
This commit is contained in:
2026-10-04 12:37:41 +08:00
parent f07c34a5fa
commit 15d5f7134d
6 changed files with 108 additions and 38 deletions
+4 -2
View File
@@ -16,14 +16,16 @@ A beginner-friendly Python program that lets you play Hangman in the terminal ag
Day 7 of Udemy's *100 Days of Code™: The Complete Python Pro Bootcamp*. The game is built in five steps that follow the course:
1. Picking a random word and checking answers *(this step)*
2. Replacing blanks with guesses
1. Picking a random word and checking answers
2. Replacing blanks with guesses *(this step)*
3. Checking if the player has won
4. Keeping track of the player's lives
5. Improving the user experience
**Step 1:** the program picks a random word, asks for one letter and tells you whether the letter is in the word.
**Step 2:** the word is shown as blanks (`_ _ _ _ _`). After your guess every matching blank is replaced by the letter.
## 📋 Requirements
- Python 3.13 or newer