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

Conteúdo do Curso

Beginner Final Project: Hangman

Beginner Final Project: Hangman

1. Game Word
2. Hints
3. Main Body

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

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

Tarefa

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

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 3. Capítulo 3
toggle bottom row

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

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

Tarefa

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

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 3. Capítulo 3
toggle bottom row

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

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

Tarefa

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

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

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

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

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 3. Capítulo 3
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
We're sorry to hear that something went wrong. What happened?
some-alt