ITP 136
C# Programming
Project 1

Project Name: Robot Car

Objectives:

 

Task:

Write a C# application that controls the movements of a robot car around a floor. The robot car will move about a "floor" represented by a two-dimensional array. The floor array may be of type bool (boolean) or any other type you deem appropriate. The robot car has a paint sprayer attached to its rear fender. As the car moves about the floor it will leave a mark if the sprayer is on but not if the sprayer is off.

Control the robot car with a simple text-based menu. You can make the car turn right, turn left and move forward a number of spaces. Your menu should also allow a user to turn the paint sprayer on or off, print the floor pattern, and exit the application.

Each time you move the car forward print the floor to show the car's progress.