You can play stories on a screen. 
You can play stories on a screen. 
Some games use only text. Other games have pictures too. You can even use books to do this. You read and then pick a path. This changes the end of the story.
In the past, games had no art. This made them easy to play on many machines. You can play alone or with others. It is a lot of fun. Do you want to play?
Interactive fiction is a way to play through a story. 
This kind of storytelling can happen in books. These are called gamebooks. You read a part of the story and make a choice. Your choice changes how the story ends. The "Choose Your Own Adventure" books are a famous example.
Early computer games had no graphics. This made them easy to play on many machines. One famous game is called Adventure. Will Crowther wrote it in 1975. He wanted to share a cave with his children. Later, a man named Don Woods added fantasy parts. He added trolls and elves to the game. Another big game is Zork. It was made by a group called the Implementers. They were very good at making stories work on many computers.
Interactive fiction is a special way to experience a story through software. 
Playing these games involves a specific way of working. 
This kind of digital storytelling has a long history. 
Many famous companies helped make interactive fiction popular. 
Interactive fiction is unique because of how it is written. 
Interactive fiction (IF) is a unique form of software that simulates environments for players. In these digital worlds, players use text commands to control characters and influence the setting. These works are often viewed as literary narratives, which are stories told through interaction. They can also be classified as video games, specifically adventure games or role-playing games. Some people distinguish between "puzzle-free" interactive fiction, which focuses on the story, and "text adventures," which focus on solving puzzles. This medium is quite versatile and can even exist in print as gamebooks. In a gamebook, such as the Choose Your Own Adventure series, readers make choices that determine the story's outcome.

The mechanics of interactive fiction rely on a cycle of reading and typing. A player reads a description of their surroundings on a screen. They then provide input by typing simple sentences, such as "get key" or "go east." A specialized program called a text parser interprets these commands. Early parsers were quite limited, often only handling two-word pairs like a verb and a noun. However, later systems like those built on the Zork Implementation Language (ZIL) became much more sophisticated. Modern parsers can understand complex instructions like "open the red box with the green key then go north." This allows for a much deeper level of interaction between the player and the digital world.

Interactive fiction also involves navigating a physical dimension made of different rooms. Even without visual graphics, players move through these spaces to explore the game. Some older games featured illogical spaces where moving north from one area might take you to a new room, but moving south would not return you to the start. These layouts created difficult mazes that required players to draw their own maps to keep track of their location. While these mazes were common in the past, many modern creators avoid them. They argue that poorly designed mazes can become frustrating puzzles that exist only for the sake of being difficult.

The history of this medium begins with early natural language processing experiments. In the 1960s, programs like ELIZA and SHRDLU used conversational language to interact with users. ELIZA simulated a psychotherapist, while SHRDLU could move virtual objects and answer questions about their shapes. Around 1975, Will Crowther wrote the first true text adventure, which he called Adventure. He programmed it in Fortran for the PDP-10 computer. Crowther designed the game to connect with his two children. His original version was an accurate simulation of Mammoth Cave but included fantasy elements like dwarves and magic bridges.

In 1977, a student named Don Woods expanded Crowther's work by adding more fantasy elements. Woods added trolls, elves, and a volcano to the code. This expanded version spread across the ARPAnet and helped spark a massive wave of popularity. The success of Adventure led to the creation of major companies. For example, Ken and Roberta Williams started Sierra Online after playing Adventure. In 1978, Scott Adams wrote Adventureland and founded Adventure International. This was the first company to commercially publish interactive fiction. Adams's work proved there was a real market for selling these digital stories.

One of the most influential companies in the industry was Infocom. The creators of the Zork series began writing a mainframe version of the game in 1977 at the MIT Laboratory for Computer Science. This group of developers called themselves the "Implementers," a name that is still used by programmers today. To ensure their games could run on many different types of computers, Infocom developed the Z-machine. This was a custom virtual machine that used standardized "story files" as input. This technical innovation allowed interactive fiction to be easily ported across many different platforms, making the genre widely accessible.

Writing for interactive fiction requires two distinct styles: player input and game output. The player provides input through imperative sentences, which are direct commands. The game responds using a second-person point of view, frequently using the word "you." This is done in the present tense to make the player feel like the events are happening to them in real time. While some games use an informal or sarcastic tone, others experiment with different perspectives. Some works use a first-person "I" perspective, while experimental games might turn the player into an inanimate object or an abstract concept. This pushes the boundaries of how we define a character in a story.
🖼️ Images & Media (1)
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
🪜 Step back
Simpler topics to build understanding
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.