🧠Concept
Pick the right answer.
stop [all ▾]. Why does the timer script use broadcast to start the game-over steps in the other sprites?when flag clicked instead of when I start as a clone. What problem occurs?reset timer when the flag is clicked, then checks if (timer) > (30) in a forever loop. What does reset timer do at the start of the game?👀Code Reading
Look at the blocks. Predict what happens.
when I start as a clone
go to x: (pick random (-200) to (200)) y: (180)
repeat (72)
change y by (-5)
if <touching [Pico Walking v]?> then
change [score v] by (1)
delete this clone
end
end
delete this clonewhen flag clicked
reset timer
forever
if <(timer) > (30)> then
broadcast [game-over v]
stop [all v]
end
endwhen I receive [game-over v] add (score) to [scores v] show list [scores v] say (join [Game Over! Score: ] (score)) for (3) secs
define apple fall
go to x: (pick random (-200) to (200)) y: (180)
repeat (72)
change y by (-5)
if <touching [Pico Walking v]?> then
change [score v] by (1)
delete this clone
end
end
delete this clonewhen I start as a clone apple fall ::custom
🐛Find the Bug
Something is broken. Pick the fix.
Pico catches apples and the score goes up, but after 30 seconds the game does not stop. Apples keep falling and the score keeps increasing forever. What is the bug?
when flag clicked
reset timer
forever
if <(timer) > (30)> then
broadcast [game-over v]
end
end🛠️Build It
Pick a level. Build it. Check the boxes.
Apples fall and the mouse catches them.
More
Build the basic catch game with a falling Apple clone and a Pico catcher. Apple spawns at a random x position and falls to the bottom. Pico follows the mouse x. Score increases by 1 each time Pico touches a falling apple. Clones are deleted when caught OR when they reach the bottom.
Done when
Green flag starts the game. Apples fall from random positions. Pico follows the mouse. Score increases when an apple is caught. Apples disappear when they hit the bottom (no clone pile-up).
Add lives, a timer, and a score list.
More
Add a 30-second timer and a lives system. Start with 3 lives. Each uncaught apple (reaches the bottom) costs 1 life. When timer exceeds 30 seconds OR lives reach 0, broadcast "game-over" and stop all scripts. On game-over, add the final score to a list named scores, show the list, and say the score for 3 seconds.
Done when
Timer ends the game at 30 seconds. Losing all 3 lives also ends the game. The scores list grows by one entry each game and is shown on the stage. Both end conditions work correctly.
Use an apple fall block and effects.
More
Refactor the clone code into a custom block named apple fall. Add a graphic effect (change [color ▾] effect by 25) on the Apple sprite when it is caught, and a sound effect when Pico catches an apple.
Done when
Custom block is used in the clone script. Graphic effect plays on catch. Sound plays on catch. All Medium features still work.
Review the student's project, then check each thing they did.
Project Evaluation
0 of 4 ticked
💬Talk About It
Present your project to your teacher or a classmate.
- 1️⃣Show a friend your game.
- 2️⃣Point to your four systems: Spawner, Clone, Pico, Timer.
- 3️⃣Say the name of each part.
Watch the student present, then check each thing they did.
Presentation Checklist
0 of 4 ticked
📤Submit
Send your results to your teacher and parent.
0 of 0 answered