跳到主要内容
Mr. Helland
  • 首页
  • 日程管理
  • 更多
简体中文
Deutsch English Español Français Tiếng Việt Русский العربية 简体中文
您正在用访客帐号访问
登录
Mr. Helland
首页 日程管理
展开全部 全部折叠
  1. Intro to CS
  2. 2️⃣Foundations of Programming
  3. Project Hangman

Project Hangman

完成条件

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 ►
您正在用访客帐号访问 (登录)
获取移动应用
本网站基于Moodle