Use the pattern for the Robot class as taught in class. Use
the city file 'Chicago.txt' to create the city. Save the Chicago.txt file in the same folder as this
project (not a subfolder).
Start karel, the robot, at avenue 5, street 6, facing North, with no things in
its backpack, as shown (karel is the red arrowhead). Write instructions so
that karel walks around the walls to pick up
all of the things to its left (Hint: there is more than one thing) and
continues around so that it returns to its starting position. It should
stay close to the walls at all times.
Test your program thoroughly. Document
your code properly. |