Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Already Used | Main Body
Beginner Final Project: Hangman

Deslize para mostrar o menu

book
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!

Tarefa

Swipe to start coding

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

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 3. Capítulo 3

Pergunte à IA

expand
ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

book
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!

Tarefa

Swipe to start coding

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

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 3. Capítulo 3
Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Sentimos muito que algo saiu errado. O que aconteceu?
some-alt