Beginner · Level 3
TOWER LEVEL 3
Choose your path
Crystal Collector
Reach column 5, row 2 and collect all 2 crystals without leaving the path.
Game board
Not runBoard guide
Pseudocode
0 / 12 instructionsAdd moves below. Kody moves when you press Run.
Add instructions, then run your pseudocode.
Edit steps
How it works
Predict when an IF action runs and when it is skipped.
Instructions run from top to bottom. Columns increase to the right; rows increase downward. Coordinates shown to you start at 1. With the crystal rule enabled, IF is checked after every successful move.
Different example: after a move onto an empty tile, kody.on_crystal() is false. kody.collect() is skipped; movement continues.
Finish on the flag with no crystals remaining, using at most 12 body instructions.
Show a hint
Trace the path one move at a time. The goal requires all 2 crystals to be collected.
Keyboard & tips
Focus the game, then use arrow keys to add moves and Enter to run. Select an instruction to move or remove it. With an instruction focused, Alt + Left/Right reorders it and Delete removes it.
Goal reached. That’s a condition: IF a crystal is here, collect it. On other tiles, that action is skipped.
Find another moduleAnother step up!
About this level
Predict when an IF action runs and when it is skipped.
These trials stay in this browser and grant no saved progress or rewards.