Collect through the detour
Collect through the detour
Collect three crystals and finish at the flag within 9 moves.
Game board
Not runBoard guide
Repair mission
1 edit availableRun or step through the broken pseudocode. Replace one line to reach the goal.
Pseudocode
0 / 9 instructionsAdd moves below. Kody moves when you press Run.
Add instructions, then run your pseudocode.
Edit steps
How it works
Trace both true and false branches of an IF rule.
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.
Complete the pseudocode and concept check.
Show a hint
Not every move collects a crystal. Trace where the IF rule is TRUE.
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. Trace both true and false branches of an IF rule.