when green flag clickedbegin from a known state
Public lesson / Scratch & Game Design
A robot hamster receives five commands, but nobody tells it when to begin. Is the command list broken, or is the missing event the real problem?
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
when green flag clickedbegin from a known state
when space key pressedrespond to one input
broadcast STARTsignal another script
move / turn / waitcreate an ordered sequence
Guided-build preview
Program a robot hamster to patrol snack storage without treating every crumb as an international emergency.
A grid-like map, Clear movement commands, A known start, A target route.
Events, Commands, Sequences, Coordinates, Messages.
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