Course Content
Hangman Game Project
Hangman Game Project
Case 4
What if the letter is not in the game word
If the letter is not in the gameword
, we need to punish the user by decreasing guesses_remaining
. The used letter has to be deleted from the available letters list.
Task
- Append the
guess
to theused_letters
. - Decrease the
guesses_remaining
.
Everything was clear?
Section 1. Chapter 12
Start learning today and achieve
coding mastery
- Master Python, SQL, JavaScript & more.
- Learn with Step-by-Step Lessons.
- Get Ready for Real-World Projects.
- Earn a Certificate Upon Completion.