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
- Choose the form by what you want the reader to do: explore a world, or make decisions.
- For parser work, use Inform and expect to handle hundreds of unanticipated commands.
- For choice work, use Twine or ink and write options that are tempting in different ways.
- Playtest with people who have never seen the form.
Common mistakes
- Parser games that reject reasonable commands ('guess the verb').
- Choice games whose options are one right answer and some wrong ones.
- Writing prose for either form as if it were a novel with links.