
14
tag-bot
Most NXT robots interact with their environments using the variety of available sensors, and designing a robot that inter-
acts with humans is especially fun. You’ll create another mobile robot in this chapter; this time it’s a robot named Tag-Bot
(Figure 14-1) that plays flashlight tag. In this game, your goal is to shine a flashlight on Tag-Bot’s light sensor for a short
period of time, which “tags” the robot.
Tag-Bot’s goal is to dash around the
room in an attempt to escape the light.
When tagged, the robot says, “Game
over” and then stops (don’t worry—it
won’t chase you!).
Tag-Bot employs a steering drive
in which the front wheel