Repeat one move
Repeat one move
Reach the flag with a one-move body repeated twice.
Game board
Not runBoard guide
Pseudocode
0 / 1 instructionsAdd moves below. Kody moves when you press Run.
Add instructions, then run your pseudocode.
Edit steps
How it works
Separate a loop body from its execution count.
Instructions run from top to bottom. Columns increase to the right; rows increase downward. Coordinates shown to you start at 1. repeat runs the entire chosen body exactly twice.
Different example: repeat 2 times: kody.move_right() moves two columns right, if both tiles are on the path.
Complete the pseudocode and concept check.
Show a hint
The repeat rule runs the entire body twice.
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. Separate a loop body from its execution count.
Find another module