Relevant Reading:
Chapters 1 and 2 of the Karel J. Robot text.
Rich Pattis' on-line reference for using the software.
Next Reading:
Chapter 3 of the Karel J. Robot text - we'll
be doing this material on Friday, so read ahead.
Assignment:
Get the ex01-15.zip file. Use the files in this folder as your basis for this assignment. Consider the world "line.txt", in which there is a vertical line of 5 beepers. Your task is to complete the program so that the robot rotates the line of beepers around the middle beeper so that the line is horizontal. More specifically, there are beepers on avenue 5, streets 4 through 8. At the end, there should be beepers on street 6, avenues 3 through 7.
Initial Situation
Final Situation
When the robot is done, it should return to where it started and turn itself off.
Additional requirements:
Create a zip file of this folder, with the same name as the folder (except with the .zip ending this time). Submit this file via the electronic handin. If you have problems, please contact one of us for help.