Lab 6 - Giving the Robot Wheels...

Due Date:  Monday October 4, 1999 at 8:00 a.m.

**Note that the due date is one day early so Jim can grade it for Tuesday.**

Assignment:
Chapter 5, Problem 17, pages 141-142
- Build a world to match the Initial Situation on page 142.
- Build a second world that matches the specifications of the problem stated on page 141 but that is different than the world shown on page 142.
- Run your robot in both worlds before deciding that your program is correct.  Jim will use a different world than the one in the book to grade your program.
- Your robot needs no beepers in the beeper bag for this problem.
- IMPORTANT-BE SURE THE BASE CLASS is "Robot". The class "ur_Robot" does not have the testing ability that is needed for this problem.
- Assume that the robot always starts with its right side next to a wall and that the robot is not next to an "island."

Background
We are not using multiple robots for this one - just one robot object of a robot class that you define.  You may do this in one file or use #included files - the choice is yours.

Handin Instructions:
Drag a copy of your .kpp file to the intront server's dropoff folder.  Follow this path:   intront/dropoffs/15-119/lab06  Note that you can drag a file into this folder but that you cannot open the folder.  You should name your .kpp file in with the convention: LastName.FirstIntital.Lab#.kpp.
You can also hand in to the course volume at:
/afs/andrew.cmu.edu/course/15/119/labs


15-119 Fall 99                                                              Lab 6

Back to 15-119 Assignments