- Write functions using def
- Use parameters (light)
- Refactor earlier games into reusable functions
- Build a simple menu to choose a game
- A function is a “My Block” from Scratch, but in Python.
- Functions help us reuse code and keep things clean.
- (10 min) Warm-up: change number of rounds in Week 5
- (15 min) Explain def and calling a function
- (30 min) Guided build: menu + two games
- (15 min) Student challenge: add a third mini-game or add replay
- (5 min) Milestone check: student explains variable/loop/if/function
- Student can run the menu, pick a game, play, and return.
- Student can point to where functions start/end.