tirolo / kata-PlutoRover

Pluto rover code kata
0 stars 0 forks source link

Implement obstacle detection before each move to a new square #1

Open tirolo opened 8 years ago

tirolo commented 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.

tirolo commented 8 years ago

Not quite sure what the "last possible point" is. If the command: FF is given, the rover will do:

0,1,N
0,2,N

What should happen if there's an obstacle at 0,1?