course content

Course Content

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.

The task is completed!

TaskCompleted

  1. Append the guess to the used_letters.
  2. Decrease the guesses_remaining.

Everything was clear?

Section 1. Chapter 12