| 1. |
Start a new empty java file. Use the ExperimentRobot class as taught in the lesson. Use
the city file 'NewRichmondHill.txt' to create
the city. (Save the NewRichmondHill.txt file in the same
directory as this question.) Start your robot at avenue 0, street
4, facing south, with no things in
its backpack, as shown (the robot is the red arrowhead). Write instructions so
the robot turns around and then walks up the hill to pick up the things to its left.
Don't forget to use the improved methods in the ExperimentRobot class. Test your program thoroughly. Document
your code properly.
Do NOT hand in your work unless other instructions were given. |
 |