Salta al contenido principal
Mr. Helland
  • Página Principal
  • Calendario
  • Más
Español
Deutsch English Español Français Tiếng Việt Русский العربية 简体中文
En este momento está usando el acceso para invitados
Acceder
Mr. Helland
Página Principal Calendario
Expandir todo Colapsar todo
  1. Intro to CS
  2. 2️⃣Foundations of Programming
  3. Project Hangman

Project Hangman

Requisitos de finalización

Target Icon Learning Target

  • Use TODO comments to identify missing code
  • Write IF-ELSE statements in Python
  • Call functions in Python


Pencil Icon Instructions

Step 1:

Open the Hangman Starter Project. 

Hangman Starter Project

You will need to view the code to work on this.

Then, click Remix and Rename to make it your own.

Note: This project will do nothing interesting when you first run it. We need to fix it!

Step 2:

Find the #TODO comments. These represent missing lines of code. 

Replace the #TODO comments with the correct code. Once you have fixed all the TODO's, the hangman game should work correctly.

Here is how many TODO's are in each module:

    • main.py - 2
    • hangman_logic.py - 3
    • hangman_art.py - 3

I suggest tackling them in this order and fixing errors as Python points them out to you. 

Step 3:

Once the game is working, start customizing it's appearance by changing the text and symbols used. 

If you press the Windows key (⊞) and the period (.) together, you'll open up the Emoji tool.
◄ 18EC: Making Decisions
PT2: Unit 2 Practice Test ►
En este momento está usando el acceso para invitados (Acceder)
Descargar la app para dispositivos móviles
Desarrollado por Moodle