Video Game History

Text Adventures and Interactive Fiction

How games played by typing commands and reading descriptions began on 1970s mainframes, spread to home computers, and continue today as interactive fiction.

On this page
  1. How a Text Adventure Works
  2. Origins on Shared Computers
  3. Parsers and Their Limits
  4. Making a Commercial Product
  5. Why They Faded From the Mainstream
  6. The Hobbyist Revival
  7. Why It Matters

How a Text Adventure Works

A text adventure describes a place in words and waits for the player to type what to do. The screen might say that you are standing in a small room with a door to the north and a lamp on the floor. You type something like “take lamp” or “go north,” and the game responds with a new description. There are no pictures. The world exists as a set of rooms, objects and rules stored in the program, and the player’s imagination fills in the rest.

The form is also called interactive fiction, a term that covers games with a strong narrative element, including some that use choices rather than typed commands. Both names are used today, and fans sometimes distinguish the traditional type from newer variations.

Origins on Shared Computers

Text adventures grew out of the computers available in the 1970s. Terminals at that time often printed text on paper or showed it on simple screens, and graphics were rare. A text game suited this hardware well, and it also required little memory compared with a picture-based game.

A cave-exploration game written in the mid-1970s by a programmer working at a research firm is usually named as the starting point for the genre, though it drew on earlier ideas, including the dungeon descriptions of tabletop games, which are discussed in the article on computer role-playing. A second programmer later expanded the work, and the game spread across the networks that then connected research institutions and universities. Because it moved between computers over networks like ARPANET, it reached many people who would not otherwise have encountered it.

Soon after, students at a university in Massachusetts wrote a larger game that allowed more flexible commands and had a richer story. The authors later helped found a company, which turned the idea into a commercial product line for home computers. Details of who did what vary between accounts, so it is safest to say that several people contributed to these early games.

Parsers and Their Limits

The central technical problem is understanding what the player types. This is the job of the parser, a program that breaks a line of text into words and tries to match them to known actions and objects.

Early parsers were simple. Many understood only two-word commands, a verb and a noun, such as “open door.” Later ones could handle longer sentences, including prepositions and multiple objects, such as “put the key in the box.” As parsers improved, games became more flexible, but none could understand free-form language. Players often ran into the frustration of guessing which words the game knew. A reply such as “I don’t understand that” became a famous mark of the genre.

Designers worked around these limits by giving clear hints, offering a limited list of verbs, and writing descriptions that suggested what could be done. The challenge was partly a puzzle about the game’s vocabulary, which links to wider research ideas about machine translation and natural language processing, though these games used far simpler methods.

Making a Commercial Product

During the early 1980s, text adventures sold well on home computers. They had advantages for publishers: one story could be adapted to many different machines because it did not depend on any machine’s graphics or sound. A company could write an interpreter, a program that ran a story file, for each type of computer, and then release the same stories widely. This approach is an early example of the reuse described in the article on game engines.

Storage mattered too. Games sold on floppy disks could hold longer stories than those on cassettes, and the larger disk-based games had more rooms, more puzzles and more detailed prose. Some packages included printed extras, such as maps or small objects, as part of the experience. Some adventures were based on well-known books and films, and the genre drew writers as well as programmers.

Why They Faded From the Mainstream

From the mid-1980s, graphics improved and became cheaper to include. Players increasingly wanted pictures, and publishers turned to games that used them. Adventure games with illustrations, and later with point-and-click controls, took much of the audience. The mainstream market for text-only games shrank considerably by the early 1990s.

It would be a mistake to say the form died. The loss of commercial support removed most professional releases, but enthusiasts continued to write and share games.

The Hobbyist Revival

From the 1990s onward, hobbyists created new tools designed specifically for writing interactive fiction. These systems let an author describe rooms, objects and events in a structured language, and they handle parsing and the world model automatically. Games are distributed as small story files that can be played on almost any computer using a freely available interpreter.

An annual community competition and online archives provide ways for authors to share their work, and the field has produced experimental games that explore memory, relationships and unusual structures, as well as traditional puzzle-driven adventures. Some use choice menus rather than typed commands, which are easier to use on phones.

Why It Matters

Text adventures show how much can be done with very little technology. They also show an early connection between computing and literature: a game is a program, but it is also a piece of writing, and the player affects how the writing unfolds. Their influence is visible in the dialogue systems and branching stories of later games.

Preserving them is comparatively easy, since the story files are small and interpreters exist for many platforms, which is one reason that digital archives of this genre are among the best-documented parts of game history. Looking back, they remain an accessible way to understand how early computers were used for imaginative purposes, not only for calculation.

The complete guide to video game history

Video Game History: Technology, Business and Play
Read the guide

Keep exploring

Guides from other topics

All topics →