Course Content
Crafting a Classic Hangman Game
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
- Invoke the
load_words
function to initialize theword_list
variable. - Determine the
gameword
by using thechoose_random_word
function. - Execute the
hangman
function.
Task
- Invoke the
load_words
function to initialize theword_list
variable. - Determine the
gameword
by using thechoose_random_word
function. - Execute the
hangman
function.
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
- Invoke the
load_words
function to initialize theword_list
variable. - Determine the
gameword
by using thechoose_random_word
function. - Execute the
hangman
function.