The Clue Repair Game
Follow instruction sequences to guide the character to the goal.
- Web browser (Chrome, Edge, Firefox)
- Internet connection
- Scratch 3.0 online editor
🔧 Build Your Clue Repair Game
when [green flag] clicked
go to x: (-180) y: (0)
say [Let's find the golden mango!] for (2) seconds
move (60) steps
wait (1) seconds
move (60) steps
wait (1) seconds
move (60) steps // <-- Missing block we repaired!
say [Yum! Delicious mango!] for (2) seconds
Snap blocks sequentially beneath the 'when green flag clicked' event block.
⚗️ Test your model
| Test Condition / Action | Expected Result |
|---|---|
| Click Green Flag | Kiki resets to starting stone and announces journey |
| Crossing Stone 2 to 3 | Kiki moves smoothly across the repaired gap without halting |
| Touching the Mango | Kiki speaks the victory message and stays on the goal |
Add a purple sound block 'play sound [Cheer] until done' right after Kiki reaches the golden mango!
📖 Our Story & Concepts
Imagine reading a recipe for baking bread, but the page accidentally leaves out the step that says "Add yeast". What happens? The bread will not rise! Computers work in the exact same way. A computer cannot guess what you want; it follows your instructions one by one from top to bottom.
When an instruction is missing, a character in a game might stop moving, walk into a wall, or get stuck mid-air. In computing, finding and fixing these mistakes is called debugging. In this project, you become a digital detective: you watch where the script stops, find the missing clue, and snap the right block into place to guide Kiki home.
</> Full Annotated Code Walkthrough
// Full Annotated Scratch Block Sequence
// 1. Reset Position
when [green flag] clicked
go to x: (-180) y: (0)
say [Let's find the golden mango!] for (2) seconds
// 2. Sequential Movement Steps
move (60) steps
wait (1) seconds
move (60) steps
wait (1) seconds
// 3. The Repaired Missing Instruction
move (60) steps
say [Yum! Delicious mango!] for (2) seconds
play sound [Cheer v] until done
Snap blocks sequentially beneath the 'when green flag clicked' event block.
▷ Expected Results & Troubleshooting
| Test Condition / Action | Expected Result |
|---|---|
| Click Green Flag | Kiki resets to starting stone and announces journey |
| Crossing Stone 2 to 3 | Kiki moves smoothly across the repaired gap without halting |
| Touching the Mango | Kiki speaks the victory message and stays on the goal |
⚑ Extension Challenges & Blueprints
- Level 1: Change the distance in the move blocks from 60 to 80 steps and see what happens to Kiki's jumps.
- Level 2: Add a second character (a baby monkey) that follows 1 step behind Kiki.
- Level 3: Program a reset key: when the 'R' key is pressed, Kiki immediately glides back to the start.