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 ]