Reeborg has a new job: he delivers the Northern Star newspaper. Many of Reeborg’s customers do not live on the ground floor of their building. For each of these customers, Reeborg has to do the following
In computer programming, we generally start counting at zero instead of 1. Since these worlds refer to two famous people in computer science, I thought it would be appropriate to number these worlds starting at zero.
While Reeborg has many clients, I only included two with their corresponding worlds:
Writing programs for worlds containing two types of objects (like a star and some tokens) that can be found at the same place is more complicated than what we have seen so far; we will see how to do this later. For now, let’s focus on world Newspaper 0 which has only one object. Later we will learn how to teach Reeborg to do deliveries in both worlds Newspaper 0 and Newspaper 1.
Make Reeborg deliver a newspaper to Dr. Pattis.
Save your program; you will come back and use it again soon.