THE ARCADE IS GLITCHING. YOU ARE THE FIX.
BUGBUSTERS_
Make tickets pour out, unlock the boss door, and power up the rocket. Your repair controls the machine. Trace the glitch, write a fix, then prove it works.
CASE 01 / Updating variables
Score surge
Every crystal is worth 10 points. The scoreboard keeps forgetting the points you already earned. Repair the update.
Watch the broken machine first. Then type a repair into the highlighted slot. Your code below updates as you write.
Shortcuts work while focused in the game. Selected text copies normally.
crystals = 3
score = 0
for i in range(crystals):
score = 10Need building blocks?
Try a block, or write an equivalent expression. Arithmetic slots support a number or the shown variable with one +, - or * operation.
A guided code lab: edit the repair slot, then watch each instruction. Python uses indentation; C++ uses types, semicolons, and braces. Copy and undo work here too.
Inspect the broken version first. Follow the objects and values, then write your repair.
Keep the arcade alive. A remix changes the machine's numbers and tests. Solve a fresh case to prove you understand the rule.
YOUR DEBUGGING TOOLKIT
Observe. Predict. Change. Test.
Trace the original code before you patch it. Does it fail on every input, or only at a boundary? A repair needs to pass all three tests. For the second language, read a new example and predict its output too.
Your course and remix badges save automatically in this browser.
Try building code in Potion Workshop →Personalized instruction
Not sure what to learn or practice next?
A focused diagnostic turns your current work into a prioritized plan instead of adding another generic checklist.