Writers' Atlas

Parser vs choice-based interactive fiction

Typed commands the game interprets, or links and options the author lays out.

Zork: type 'open mailbox'. Twine: click 'Open the mailbox'.

Interactive fiction comes in two main kinds. Parser IF, from Adventure (1976) and Zork (1977) through the Infocom games to the modern Inform language, has the player type commands which the program interprets; the world is a model the player explores. Choice-based IF, dominant since Twine (2009), presents links or options the author has written; the player chooses, never types.

The difference is authorial. Parser games simulate a world and must handle anything the player tries, which produces discovery and frustration in equal measure. Choice games present only what the author offers, which makes them easier to write and play and shifts the craft toward the writing of the options themselves.

Hybrids exist, and the choice-based form has largely won the wider audience while the parser form keeps a devoted community and an annual competition.

Example

Zork I (Infocom, 1980)

The player types commands such as 'open mailbox' and 'read leaflet' and the parser responds, often with a joke when it does not understand. The game's great white house and underground empire are a modelled world; the puzzles depend on the player finding the right verbs.

How to use it

Common mistakes

Alternatives

Builds on / part of

Used with

Sources

  1. Interactive fiction (Wikipedia)
  2. Twine (software) (Wikipedia)