Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Is not a Letter | Main Body
Beginner Final Project: Hangman
course content

Contenido del Curso

Beginner Final Project: Hangman

Beginner Final Project: Hangman

1. Game Word
2. Hints
3. Main Body

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

Tarea

Swipe to start coding

  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.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 3. Capítulo 2
toggle bottom row

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

Tarea

Swipe to start coding

  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.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 3. Capítulo 2
Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
Lamentamos que algo salió mal. ¿Qué pasó?
some-alt