🧠Concept

Pick the right answer.

Concept · Q1
The bullet clone script ends with delete this clone. Why is this important?
Concept · Q2
The ship uses <key [left arrow ▾] pressed?> inside a forever loop, not when [left arrow ▾] key pressed. What is the advantage?
Concept · Q3
Scores are saved in a high-scores list. The player clicks the green flag again. What happens to the list?
Concept · Q4
A bullet jumps change y by (30) each frame. The small enemy moves toward it. What problem can happen?

👀Code Reading

Look at the blocks. Predict what happens.

Code Reading · CR1
The wave controller script runs on the Enemy sprite. What is the value of enemies-in-wave at the start of wave 3?
when flag clicked
set [wave v] to (1)
set [enemies-in-wave v] to (5)
forever
  set [spawned v] to (0)
  repeat (enemies-in-wave)
    spawn-enemy ::custom
    change [spawned v] by (1)
    wait (pick random (0.5) to (1.5)) secs
  end
  wait until <(enemies-remaining) = (0)>
  change [wave v] by (1)
  change [enemies-in-wave v] by (2)
end
Code Reading · CR2
What does this ship-hit handler do when lives reaches 0?
when I receive [ship-hit v]
set [color v] effect to (25)
wait (0.2) secs
clear graphic effects
change [lives v] by (-1)
if <(lives) = (0)> then
  broadcast [game-over v] and wait
end
Code Reading · CR3
This script runs on a star sprite. What does stamp do here?
when flag clicked
set y to (180)
forever
  stamp
  change y by (-3)
  if <(y position) < (-180)> then
    set y to (180)
    set x to (pick random (-220) to (220))
  end
end

🐛Find the Bug

Something is broken. Pick the fix.

Bullets travel upward and stop at enemies, but the score never increases and the enemies keep falling. The enemy clone script is shown below. What is wrong?

when I start as a clone
show
repeat until <(y position) < (-180)>
  change y by ((speed) * (-1))
end
change [enemies-remaining v] by (-1)
delete this clone

🛠️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 4 ticked

💬Talk About It

Present your project to your teacher or a classmate.

  1. 1️⃣Show a friend your game over.
  2. 2️⃣Point to your broadcast [game-over] and wait block.
  3. 3️⃣Say one thing it does.
🧑‍🏫
For the teacher

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