Star Student Builder logoStar Student Builder
← Coding games Mazebreak a long journey into straight runs and write each one as a repeatpar 17 commands

Snake Path

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: Three corridors joined by short gaps. Write one run, one turn, then the next run.

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