🧠Concept
Pick the right answer.
hide variable [score ▾] do to the score variable?lives starts at 3. Read the script. After it runs, what does the lives monitor display?when flag clicked set [lives v] to (3) hide variable [lives v] change [lives v] by (-1) change [lives v] by (-1) change [lives v] by (-1) show variable [lives v]
score to 0 and calls hide variable [score ▾]. While the monitor is hidden, the script runs change [score ▾] by (10) three times. Then the student calls show variable [score ▾]. What value does the monitor display?👀Code Reading
Look at the blocks. Predict what happens.
debug_mode and is debug_x visible?when flag clicked set [debug_mode v] to (0) hide variable [debug_x v]
when [d v] key pressed if <(debug_mode) = (0)> then set [debug_mode v] to (1) show variable [debug_x v] else set [debug_mode v] to (0) hide variable [debug_x v] end
debug_mode, and is the debug_x box shown?when flag clicked set [debug_mode v] to (0) hide variable [debug_x v]
when [d v] key pressed if <(debug_mode) = (0)> then set [debug_mode v] to (1) show variable [debug_x v] else set [debug_mode v] to (0) hide variable [debug_x v] end
lives = 0. Is the score box on screen after the game ends?when flag clicked
show variable [score v]
forever
if <(lives) = (0)> then
stop [all v]
hide variable [score v]
end
end🐛Find the Bug
Something is broken. Pick the fix.
When lives reaches 0, the game ends but the score monitor stays on screen. What is missing?
when flag clicked
show variable [score v]
forever
if <(lives) = (0)> then
set [score v] to (0)
stop [all v]
end
end🛠️Build It
Pick a level. Build it. Check the boxes.
Show scores, then hide them.
More
Create two variables: score and lives. Write a script that shows both monitors at the start and hides them both when the space bar is pressed. Confirm the values keep updating while hidden.
Done when
show variable and hide variable blocks are used correctly. Pressing space hides both monitors.
Show and hide numbers each press.
More
Build a debug toggle. Create debug_x and debug_y variables. Use a when [d ▾] key pressed block with a debug_mode variable to show both monitors when D is pressed the first time and hide them when D is pressed again. Confirm the toggle works repeatedly.
Done when
Toggle logic uses an if-else with debug_mode = 0/1. Both monitors show and hide correctly on alternate presses.
Lives run out. Game over!
More
Build a full HUD system. Show score and lives at the start. Use a forever loop to subtract 1 from lives every 3 seconds. When lives reaches 0, hide both monitors, show a say bubble "Game Over!", and stop all. Confirm monitors are hidden at game over and values were updating while visible.
Done when
Monitors hidden before stop all. Game over triggers correctly at lives = 0. Say bubble appears after hiding monitors.
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 your project.
- 2️⃣Point to a variable monitor.
- 3️⃣Hide it, then show it again.
- 4️⃣Say one game example where hiding is the right choice.
Watch the student present, then check each thing they did.
Presentation Checklist
0 of 3 ticked
📤Submit
Send your results to your teacher and parent.
0 of 0 answered