Star Student Builder logoStar Student BuilderA Learnerโ€™s Guide
โ† 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