Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Final Step | Crafting a Classic Hangman Game
Crafting a Classic Hangman Game
course content

Course Content

Crafting a Classic Hangman Game

Final Step

Integrating Everything

Fantastic! Now, it's time to structure the main function to incorporate all the functions we've developed previously.

Task

  1. Invoke the load_words function to initialize the word_list variable.
  2. Determine the gameword by using the choose_random_word function.
  3. Execute the hangman function.

Task

  1. Invoke the load_words function to initialize the word_list variable.
  2. Determine the gameword by using the choose_random_word function.
  3. Execute the hangman function.

Mark tasks as Completed

Everything was clear?

Integrating Everything

Fantastic! Now, it's time to structure the main function to incorporate all the functions we've developed previously.

Task

  1. Invoke the load_words function to initialize the word_list variable.
  2. Determine the gameword by using the choose_random_word function.
  3. Execute the hangman function.

Mark tasks as Completed
Section 1. Chapter 9
AVAILABLE TO ULTIMATE ONLY
We're sorry to hear that something went wrong. What happened?
some-alt