course content

Course Content

Hangman Game Project

Case 2Case 2

What if the user is trying to use the letter already used?

We need to punish the user by decreasing warnings_remaining(or guesses_remaining if no warnings are left). We are saving all letters used into the used_letters variable.

The task is completed!


  1. Decrease the warnings_remaining.
  2. Set condition if the warnings_remaining is lower than 0.
  3. Decrease the guesses_remaining.

Everything was clear?

Section 1. Chapter 10