2012/10/15

Robotic Grid System


Robot starts in direction 0 and scans and the distance is divided by the grid division length (if modulus is greater or equal to five add one to that variable).

The distance is printed followed but the number of grid spaces from the robot (ignore the Y part).

No comments:

Post a Comment