Room description and the parser
A location written to be re-read, with its exits and nouns matching what the parser will accept.
West of House. You are standing in an open field west of a white house, with a boarded front door.
In parser interactive fiction the room description is the unit of prose. It names the place, says what is here and where the exits are, and will be read again every time the player returns. Colossal Cave Adventure (1976-77) set the tone: a narrator with a dry voice describing locations and the results of actions, as the Wikipedia page notes, much as a dungeon master would. Zork added hundreds of locations and a parser that understood more than verb and noun.
The description and the parser are one system. Every noun the prose mentions is a noun the player may type, so a description that lists a rug must answer when the rug is moved. Infocom's parser was prized because it accepted full sentences; the standard commands, north, east, look, take, became conventions the whole form shares.
The craft is terse prose that invites action without listing it, and that still reads well on the twentieth visit.
Example
Zork I (Infocom, 1980)
The famous opening, west of a white house with a boarded door and a mailbox, puts one object and one obvious action in front of the player. The mailbox opens; the leaflet reads; the player has learned the grammar. The house itself is reached by going round it, not through the door.
How to use it
- Write the first line as the name, the second as the picture, the third as the exits.
- Every noun you mention, implement.
- Write a short version for return visits.
- Hide one thing in each room that rewards examining.
Common mistakes
- Purple prose the player must scroll past every visit.
- Nouns in the description the parser does not know.
- Exits implied by prose but not present in the map.