Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Is not a Letter | 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

Is not a Letter

What if the user input & or @? We need to 'punish' the user by decreasing number of warnings (or guesses if there are no warnings left). Only one symbol ! means that the user is asking for the hint. We need to take into account these cases.

Tarefa

  1. Set condition if the input is '!'.
  2. Print possible matches using the show_possible_matches function and the get_guessed_word(gameword, used_letters) as an argument.
  3. Decrease the warnings_remaining by one.
  4. Set condition if there are less than 0 (not included) warnings.
  5. Decrease the guesses_reamaining by one.

Tarefa

  1. Set condition if the input is '!'.
  2. Print possible matches using the show_possible_matches function and the get_guessed_word(gameword, used_letters) as an argument.
  3. Decrease the warnings_remaining by one.
  4. Set condition if there are less than 0 (not included) warnings.
  5. Decrease the guesses_reamaining by one.

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 2
toggle bottom row

Is not a Letter

What if the user input & or @? We need to 'punish' the user by decreasing number of warnings (or guesses if there are no warnings left). Only one symbol ! means that the user is asking for the hint. We need to take into account these cases.

Tarefa

  1. Set condition if the input is '!'.
  2. Print possible matches using the show_possible_matches function and the get_guessed_word(gameword, used_letters) as an argument.
  3. Decrease the warnings_remaining by one.
  4. Set condition if there are less than 0 (not included) warnings.
  5. Decrease the guesses_reamaining by one.

Tarefa

  1. Set condition if the input is '!'.
  2. Print possible matches using the show_possible_matches function and the get_guessed_word(gameword, used_letters) as an argument.
  3. Decrease the warnings_remaining by one.
  4. Set condition if there are less than 0 (not included) warnings.
  5. Decrease the guesses_reamaining by one.

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 2
toggle bottom row

Is not a Letter

What if the user input & or @? We need to 'punish' the user by decreasing number of warnings (or guesses if there are no warnings left). Only one symbol ! means that the user is asking for the hint. We need to take into account these cases.

Tarefa

  1. Set condition if the input is '!'.
  2. Print possible matches using the show_possible_matches function and the get_guessed_word(gameword, used_letters) as an argument.
  3. Decrease the warnings_remaining by one.
  4. Set condition if there are less than 0 (not included) warnings.
  5. Decrease the guesses_reamaining by one.

Tarefa

  1. Set condition if the input is '!'.
  2. Print possible matches using the show_possible_matches function and the get_guessed_word(gameword, used_letters) as an argument.
  3. Decrease the warnings_remaining by one.
  4. Set condition if there are less than 0 (not included) warnings.
  5. Decrease the guesses_reamaining by one.

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 input & or @? We need to 'punish' the user by decreasing number of warnings (or guesses if there are no warnings left). Only one symbol ! means that the user is asking for the hint. We need to take into account these cases.

Tarefa

  1. Set condition if the input is '!'.
  2. Print possible matches using the show_possible_matches function and the get_guessed_word(gameword, used_letters) as an argument.
  3. Decrease the warnings_remaining by one.
  4. Set condition if there are less than 0 (not included) warnings.
  5. Decrease the guesses_reamaining by one.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 3. Capítulo 2
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