| 1. |
Use the concept of inheritance and overriding
methods, as taught in class to define a DizzyMovingRobot. When this
robot's move method is called, this type of robot first spins around 360
degrees and then moves forward one block.
Create a program where the robot moves forward, as the DizzyMovingRobot
does and cleans up the 4 things directly in front of it. Start the robot
at avenue 1 and street 2, heading south as shown
Test your program thoroughly. Document
your task code properly.
Do NOT hand in your work unless other instructions were given.
|
 |