repeat 10run a known number of waves
Public lesson / Scratch & Game Design
A snowball attack works once. Copying it fifty times works too, but nobody wants to repair fifty copies when the timing changes. What should repeat, and what should stop it?
Lesson rhythm
Name the problem before opening the build.
Make the hidden rule visible with small tests.
Use the idea inside a working project system.
Change one rule and predict the effect.
Explain the result, save safely, and leave a known state.
Learning goals
Theory kernel
repeat 10run a known number of waves
foreverkeep checking while the game runs
repeat until score = 8stop after a goal
wait 0.5 secondsmake repetition observable
Guided-build preview
Keep the town's emergency mug of cocoa safe while angry snowballs fall in patterns that become faster and harder to predict.
A controllable catcher, Repeated falling snowballs, Random starting positions, Collision and missed-object rules.
Loops, Randomness, Coordinates, Collision, Score.
A working version, one modification, one repaired problem, and an explanation.
Teacher checkpoints
Common mistakes
Modification challenge
Higher levels are optional. They deepen the current idea rather than turning a beginner lesson into an unrelated advanced task.
End-of-class demonstration