Robby Project 9
Robby now has five abilities:
turnLeft()
turnRight()
move()
pickFruit()
dropFruit()
Project 9: The graph below has 21 pieces of fruit (all at x = -9). Robby starts at (0, 0) facing East. You want to give Robby directions to plant all the 21 pieces of fruit at x = 9 as shown below.
BEFORE
AFTER
Note: If your code works for 5 test cases in a row, you can enter your e-mail address.