Week ahead: 15
|Final portfolio assignment
|Zork: The Great Underground Empire
For class on Thursday, spend at least an hour playing the text adventure game Zork. (The link in the table above goes to the emulator built by the Internet Archive. If you have trouble with it, you might also try the version hosted by textadventures.co.uk) Zork is one of the earliest interactive fiction games, written in the late 70s. It builds on the game Adventure (a.k.a. Colossal Cave Adventure) which came out in 1976 and set the terms for the genre, but Zork is a much larger and more developed game than its predecessor.
You’ll quickly notice that the Xanadu game inside Kentucky Route Zero is clearly referencing Zork.
Try playing around on your own some first, but there are plenty of Zork walkthroughs available online. Start with the commands: “open mailbox” and then “read leaflet.” A few other basic commands to remember:
- Look (l)
- Inventory (i)
- North (n), South (s), East (e), West (w) will move you in those directions.
- get [object]
The version at textadventures includes the following in response to the command “info”:
Welcome to ZORK! You are near a large dungeon, which is reputed to contain vast quantities of treasure. Naturally, you wish to acquire some of it. In order to do so, you must of course remove it from the dungeon. To receive full credit for it, you must deposit it safely in the trophy case in the living room of the house. In addition to valuables, the dungeon contains various objects which may or may not be useful in your attempt to get rich. You may need sources of light, since dungeons are often dark, and weapons, since dungeons often have unfriendly things wandering about. Reading material is scattered around the dungeon as well; some of it is rumored to be useful. To determine how successful you have been, a score is kept. When you find a valuable object and pick it up, you receive a certain number of points, which depends on the difficulty of finding the object. You receive extra points for transporting the treasure safely to the living room and placing it in the trophy case. In addition, some particularly interesting rooms have a value associated with visiting them. The only penalty is for getting yourself killed, which you may do only twice. Of special note is a thief (always carrying a large bag) who likes to wander around in the dungeon (he has never been seen by the light of day). He likes to take things. Since he steals for pleasure rather than profit and is somewhat sadistic, he only takes things which you have seen. Although he prefers valuables, sometimes in his haste he may take something which is worthless. From time to time, he examines his take and discards objects which he doesn’t like. He may occasionally stop in a room you are visiting, but more often he just wanders through and rips you off (he is a skilled pickpocket).
Zork launched the company Infocom, which was created by staff and students at MIT. They launched a series of text-based games over the span of almost ten years before being purchased by Activision. At the time, the ability of these games to parse relatively natural language was innovative.