Зміст курсу
Beginner Final Project: Hangman
Beginner Final Project: Hangman
Already Used
What if the user is trying to use the letter that has been already used? We need to 'punish' the user by decreasing warnings_remaining
(or guesses_remaining
if there are no warnings left). We are saving all letters that have been used into the used_letters
variable.
**Scroll down to see the full code!
Завдання
- Decrease the
warnings_remaining
. - Set condition if the
warnings_remaining
is lower than 0. - Decrease the
guesses_remaining
.
Дякуємо за ваш відгук!
Already Used
What if the user is trying to use the letter that has been already used? We need to 'punish' the user by decreasing warnings_remaining
(or guesses_remaining
if there are no warnings left). We are saving all letters that have been used into the used_letters
variable.
**Scroll down to see the full code!
Завдання
- Decrease the
warnings_remaining
. - Set condition if the
warnings_remaining
is lower than 0. - Decrease the
guesses_remaining
.
Дякуємо за ваш відгук!
Already Used
What if the user is trying to use the letter that has been already used? We need to 'punish' the user by decreasing warnings_remaining
(or guesses_remaining
if there are no warnings left). We are saving all letters that have been used into the used_letters
variable.
**Scroll down to see the full code!
Завдання
- Decrease the
warnings_remaining
. - Set condition if the
warnings_remaining
is lower than 0. - Decrease the
guesses_remaining
.
Дякуємо за ваш відгук!
What if the user is trying to use the letter that has been already used? We need to 'punish' the user by decreasing warnings_remaining
(or guesses_remaining
if there are no warnings left). We are saving all letters that have been used into the used_letters
variable.
**Scroll down to see the full code!
Завдання
- Decrease the
warnings_remaining
. - Set condition if the
warnings_remaining
is lower than 0. - Decrease the
guesses_remaining
.