Here we have associated each object with a location. Lists such as this are, not surprisingly, called "association lists" in Lisp. An association list is simply a list of lists where the first item in each inside list is a "key" symbol that is associated with a bunch of other data. Our map variable was also an association list- The three keys in that case were living-room, garden, and attic.
Now that we have defined our world and the objects in the world, the only thing left to do is describe the location of the player of the game:
      (setq location 'living-room)
Now let's begin making some game commands!
<< begin < previous - next > end >>