Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn None of It | Main Body
Beginner Final Project: Hangman

Swipe to show menu

book
None of It

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

Swipe to start coding

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

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 3. ChapterΒ 5

Ask AI

expand
ChatGPT

Ask anything or try one of the suggested questions to begin our chat

book
None of It

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

Swipe to start coding

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

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 3. ChapterΒ 5
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt