Skip to main content
Mr. Helland
  • Home
  • Calendar
  • More
English
Deutsch English Español Français Tiếng Việt Русский العربية 简体中文
You are currently using guest access
Log in
Mr. Helland
Home Calendar
Expand all Collapse all
  1. Intro to CS
  2. 2️⃣Foundations of Programming
  3. Project Hangman

Project Hangman

Completion requirements

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 ►
You are currently using guest access (Log in)
Get the mobile app
Powered by Moodle