Зміст курсу
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.
Swipe to show code editor
- Invoke the
load_words
function to initialize theword_list
variable. - Determine the
gameword
by using thechoose_random_word
function. - Execute the
hangman
function.
Дякуємо за ваш відгук!
Integrating Everything
Fantastic! Now, it's time to structure the main function to incorporate all the functions we've developed previously.
Swipe to show code editor
- Invoke the
load_words
function to initialize theword_list
variable. - Determine the
gameword
by using thechoose_random_word
function. - Execute the
hangman
function.