Open tirolo opened 8 years ago
If a given sequence of commands encounters an obstacle, the rover moves up to the last possible point and reports the obstacle.
Not quite sure what the "last possible point" is. If the command: FF is given, the rover will do:
FF
0,1,N 0,2,N
What should happen if there's an obstacle at 0,1?
0,1
If a given sequence of commands encounters an obstacle, the rover moves up to the last possible point and reports the obstacle.