Star Student Builder logoStar Student Builder
← Coding games Mazea loop inside a loop: the inner loop walks two squares, the outer loop repeats the whole steppar 7 commands

Double Step

Bring the robot to the house 🏠 and pick up every star ⭐ on the way. Use forward 1, right 90, left 90, take β€” and repeat to keep it short.

πŸ’‘ Hint: One step is two squares across and two squares up. Put a loop inside a loop.

Your program
Show me one solution
repeat 3 [ repeat 2 [ forward 1 ] left 90 repeat 2 [ forward 1 ] right 90 ]
Ask GuruAcharya Samayeshwar