Getting the Newspaper

Section: Laboratory Assignment
...Subsection: Getting the Newspaper


Exercise 4

Every morning Shakey is awakened in bed when his newspaper is thrown onto the front porch of his house. Program Shakey to retrieve his paper and bring it back to bed with him.

The Newspaper world depicts an arial view of Shakey in the morning.

To get you started, here is a pseudocode solution.

  // Newspaper world loaded.
  // Leave the bedroom...
  // Go to the door...
  // Get the paper...
  // Return to bed...



Suzanne Menzel; menzel@cs.indiana.edu