🧠Concept
Pick the right answer.
initialize game custom block do?lives by -1 but does not delete the enemy clone. Lives drop from 3 to 0 in less than one second. What causes this?move player (step) block better than two blocks, move left and move right?👀Code Reading
Look at the blocks. Predict what happens.
lives reaches 0?when I receive [enemy_hit_player v] change [lives v] by (-1) if <(lives) = (0)> then set [game_state v] to [gameover] stop [other scripts in sprite v] broadcast [show_gameover v] end
when I receive [start_spawning v] forever create clone of [myself v] wait (2) secs end
when I start as a clone
show
go to x: (240) y: (pick random (-100) to (100))
forever
change x by (-3)
if <(x position) < (-240)> then
delete this clone
end
endscore and lives?define initialize game set [score v] to (0) set [lives v] to (3) set [game_state v] to [playing] broadcast [start_spawning v]
🐛Find the Bug
Something is broken. Pick the fix.
A student's player loses all 3 lives the moment the first enemy touches them — one touch ends the game right away.
when I start as a clone
show
go to x: (240) y: (pick random (-100) to (100))
forever
change x by (-3)
if <touching [Cat v]?> then
broadcast [enemy_hit_player v]
end
if <(x position) < (-240)> then
delete this clone
end
end🛠️Build It
Pick a level. Build it. Check the boxes.
Press space to end the game.
More
Build a game state with two words: "playing" and "gameover." Click the to start in "playing." When you press the space bar, change to "gameover" and stop all scripts.
Done when
A game_state variable exists. Clicking the flag sets it to "playing." Pressing space sets it to "gameover" and the forever loop stops. The game stays in gameover until the flag is clicked again.
Move the player, stop when touched.
More
Add to the EASY game a player sprite that moves with arrow keys through one move player (step) block, and one enemy clone that moves across the screen. When the clone touches the player, change to "gameover."
Done when
The player moves with arrow keys while game_state = playing, and both keys call the same move player block with different numbers. At least one enemy clone moves across the stage. Touching the player changes the game to "gameover."
Lives, score, and game over.
More
Add a lives variable (start at 3) and a score variable (start at 0). Each enemy touch lowers lives by 1 and deletes the clone. Each enemy that leaves the left edge raises score by 1. When lives reach 0, change to "gameover."
Done when
All five parts work together: game state, player control, clone making, lives counter, score counter. One click of the flag gives one full round from start to game over.
Review the student's project, then check each thing they did.
Project Evaluation
0 of 5 ticked
💬Talk About It
Present your project to your teacher or a classmate.
- 1️⃣Click the
and play one full round in front of your teacher or a classmate.
- 2️⃣When the game ends, point to the script that ended the game — show the exact block that changed
game_stateto "gameover." Say what that block does.
Watch the student present, then check each thing they did.
Presentation Checklist
0 of 5 ticked
📤Submit
Send your results to your teacher and parent.
0 of 0 answered