So now your robot is navigating the field: it can move straight, turn, and even realign itself on a straight course. But what happens when there is something in its way? How does it know when it is about to run into something on the game field? You need to make the robot smart enough to avoid obstacles and navigate past them. Just like a person, the robot needs to take advantage of all its senses and learn how to react properly to obstacles in its path.