Hangman Game Project

Case 4Case 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

  1. Append the guess to the used_letters.
  2. 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.