Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Rules of the Game | Game Word
Beginner Final Project: Hangman
course content

Conteúdo do Curso

Beginner Final Project: Hangman

Beginner Final Project: Hangman

1. Game Word
2. Hints
3. Main Body

Rules of the Game

Rules of the Hangman

Function plan and its connection

Final playable game version

After finishing writing the code we will be able to test our game using the file with words. During the course to test functions, we will have small words lists.

Let's prepare to the Hangman!

First, we need to import libraries needed for work and set new function. This function, which is named load_words() is used to get all words from one given file. During the project, we will name this file word_list.

Use hints if needed!

Tarefa

  1. Import the random library.
  2. Import the string library.
  3. Set new function load_words that will load words from the file.
  4. Set word_list file variable that includes words for the game.
  5. Return word_list variable.

Tarefa

  1. Import the random library.
  2. Import the string library.
  3. Set new function load_words that will load words from the file.
  4. Set word_list file variable that includes words for the game.
  5. Return word_list variable.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 1. Capítulo 1
toggle bottom row

Rules of the Game

Rules of the Hangman

Function plan and its connection

Final playable game version

After finishing writing the code we will be able to test our game using the file with words. During the course to test functions, we will have small words lists.

Let's prepare to the Hangman!

First, we need to import libraries needed for work and set new function. This function, which is named load_words() is used to get all words from one given file. During the project, we will name this file word_list.

Use hints if needed!

Tarefa

  1. Import the random library.
  2. Import the string library.
  3. Set new function load_words that will load words from the file.
  4. Set word_list file variable that includes words for the game.
  5. Return word_list variable.

Tarefa

  1. Import the random library.
  2. Import the string library.
  3. Set new function load_words that will load words from the file.
  4. Set word_list file variable that includes words for the game.
  5. Return word_list variable.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 1. Capítulo 1
toggle bottom row

Rules of the Game

Rules of the Hangman

Function plan and its connection

Final playable game version

After finishing writing the code we will be able to test our game using the file with words. During the course to test functions, we will have small words lists.

Let's prepare to the Hangman!

First, we need to import libraries needed for work and set new function. This function, which is named load_words() is used to get all words from one given file. During the project, we will name this file word_list.

Use hints if needed!

Tarefa

  1. Import the random library.
  2. Import the string library.
  3. Set new function load_words that will load words from the file.
  4. Set word_list file variable that includes words for the game.
  5. Return word_list variable.

Tarefa

  1. Import the random library.
  2. Import the string library.
  3. Set new function load_words that will load words from the file.
  4. Set word_list file variable that includes words for the game.
  5. Return word_list variable.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Rules of the Hangman

Function plan and its connection

Final playable game version

After finishing writing the code we will be able to test our game using the file with words. During the course to test functions, we will have small words lists.

Let's prepare to the Hangman!

First, we need to import libraries needed for work and set new function. This function, which is named load_words() is used to get all words from one given file. During the project, we will name this file word_list.

Use hints if needed!

Tarefa

  1. Import the random library.
  2. Import the string library.
  3. Set new function load_words that will load words from the file.
  4. Set word_list file variable that includes words for the game.
  5. Return word_list variable.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 1. Capítulo 1
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
We're sorry to hear that something went wrong. What happened?
some-alt