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

Kursusindhold

Crafting a Classic Hangman Game

book
Final Step

Integrating Everything

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

Opgave

Swipe to start coding

  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.

Løsning

Mark tasks as Completed
Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 9
Vi beklager, at noget gik galt. Hvad skete der?
some-alt