🧠Concept

Pick the right answer.

Concept · Q1
What does the clamp to stage custom block do?
Concept · Q2
A game ends three times in one frame — the game over screen flashes and the game restarts right away. Which fix stops this?
Concept · Q3
The game works on the first round. After restart, the spawner keeps making enemies on the game over screen. What test would catch this?
Concept · Q4
A new player opens the game. Which check list item shows them the name and how to start?

👀Code Reading

Look at the blocks. Predict what happens.

Code Reading · CR1
This spawner runs after the flag is clicked. What happens when game_state changes to "gameover"?
when flag clicked
forever
  if <(game_state) = [playing]> then
    create clone of [myself v]
  end
  wait (spawn_delay) secs
end
Code Reading · CR2
This reset_game block runs when the player restarts. A student plays two rounds with scores 7 and 12. After the second restart, game_over_triggered is still 1. What is missing?
define reset game
set [score v] to (0)
set [lives v] to (3)
set [level v] to (1)
set [enemy_speed v] to (2)
set [spawn_delay v] to (3)
delete all of [active_powerups v]
broadcast [reset_all_sprites v]
set [game_state v] to [playing]
Code Reading · CR3
This clamp block runs after every player movement. A player sprite is at x = 230. What is x after clamp to stage runs?
define clamp to stage
if <(x position) > (220)> then
  set x to (220)
end
if <(x position) < (-220)> then
  set x to (-220)
end
if <(y position) > (160)> then
  set y to (160)
end
if <(y position) < (-160)> then
  set y to (-160)
end

🐛Find the Bug

Something is broken. Pick the fix.

A student's project creates enemies that keep spawning after game over. The game over screen is visible but new enemies appear every second. After Play Again (reset_game runs, no green flag), the next round must spawn enemies again.

when flag clicked
forever
  create clone of [myself v]
  wait (spawn_delay) secs
end

🛠️Build It

Pick a level. Build it. Check the boxes.

🧑‍🏫
For the teacher

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. 1️⃣Show your finished game to your teacher or a friend.
  2. 2️⃣Play one full round, then restart and play a second round.
  3. 3️⃣Point to three things: (1) the reset_game block — name every value it resets; (2) the spawner script — point to the if <(game_state) = [playing]> check and say what it does; (3) one bug you fixed in this game — say what was wrong and how you fixed it.
  4. 4️⃣Then say one thing you put in and one thing you cut.
🧑‍🏫
For the teacher

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