Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 638 Bytes

File metadata and controls

19 lines (15 loc) · 638 Bytes

Week 4 – Decisions (Choose Your Path)

Objectives

  • Use if/elif/else for branching
  • Use comparisons and a small amount of AND/OR
  • Keep a score or lives variable and modify it

Concept explanation

  • if/elif/else is the “rules engine” of a game.

Lesson flow (60–75 min)

  1. (10 min) Warm-up: add one more hint to Week 3
  2. (10 min) Explain if/elif/else using a simple example
  3. (25 min) Guided build: 2–3 choices story
  4. (20 min) Student challenge: add score + a “good ending”
  5. (5 min) Wrap-up: student explains which line is the rule

Success criteria

  • Program shows different outcomes based on choices.