Talerinth
Guides

What is interactive fiction? Parser, choice and AI

Cover art for The Silence of Saint-Aubin, an interactive story

Interactive fiction is a story that responds to the reader. You don't just turn the page; you decide something, and the story changes because of it. That covers a lot of ground, from 1970s text adventures to phone apps to AI-written books, and people who use the term don't always mean the same thing by it.

Here's a plain map of the field: the three main kinds, how they differ, and where to find each. It's written by Talerinth, which publishes one particular kind, but most of this page is about everything else.

The short definition

In its narrow sense, especially among the people who make it, "interactive fiction" (often shortened to IF) means text-based games and stories where the reader's input drives the narrative. In its broad sense it includes anything from a gamebook to a story app. Both uses are common. What they share is that the reader is also, in some way, the player.

Three kinds of interactive fiction

Parser Choice-based AI-written
How you act Type commands Pick from options Type freely or pick from options
Who writes the text The author, in advance The author, in advance An AI model, as you read
Freedom High, within what the author built Limited to the choices offered Open-ended or guided, depending on the work
Examples Colossal Cave Adventure, Zork Twine games, Choice of Games, 80 Days AI Dungeon, Talerinth

Parser interactive fiction

This is where it began. In the 1970s, Colossal Cave Adventure let players explore a cave by typing short commands: GO NORTH, TAKE LAMP. A program called the parser tried to understand them. Zork and the other Infocom games made the form commercial and famous on home computers.

Parser IF never went away. Writers still make it, often with the free authoring system Inform, and it's at the heart of the hobbyist community. Its pleasures are exploration, puzzles and the feeling that you could try anything. Its frustration is the same thing: guessing the exact verb the author had in mind.

Choice-based interactive fiction

Instead of typing, you choose from a list. The ancestors are paper gamebooks such as the Choose Your Own Adventure series and Fighting Fantasy. Online, the form took off with tools that made it easy to write:

  • Twine, a free tool for linking passages into branching stories that play in a browser;
  • ChoiceScript, the language behind Choice of Games' long interactive novels, which track your decisions as stats;
  • ink, inkle's open-source language, used in games like 80 Days.

Phone story apps like Choices and Episode are choice-based too, with character art added. Choice-based IF is easier to start and easier to write well for, which is one reason so much new IF takes this form. The trade-off is that you can only do what the author offered.

AI-written interactive fiction

The newest form hands the writing to a large language model. You act, and the AI writes what happens next, so the story isn't limited to branches an author wrote beforehand.

It splits two ways. Open sandboxes such as AI Dungeon let you type anything and keep going indefinitely; you are half the author. Guided books give the AI a designed story to tell and give you choices inside it.

Talerinth is the guided kind. Each of its six books has a premise, a cast, an outline in acts and a set of endings. You pick a book and a hero, and each chapter is written and illustrated by AI in the book's voice in response to your last choice, ending with three new choices. A story runs ten chapters to one of several endings. To keep a long story coherent, every chapter's new facts (names, places, secrets, the timeline) are recorded and handed back to the AI as canon it must respect.

AI fiction is controversial in parts of the IF community, which is built around human authorship, and it's fair to say so. Its strength is that the story can answer what you actually chose. Its weakness is that, without structure, it drifts and rarely ends.

Interactive fiction websites worth knowing

  • The Interactive Fiction Database (IFDB). The catalogue of the field: thousands of works, parser and choice-based, with reader ratings, reviews and recommendation lists. Start here.
  • The Interactive Fiction Competition (IFComp). An annual competition for new, mostly short works, judged by the public. Past entries are a good way to sample the best recent writing.
  • intfiction.org. The main community forum, for players and authors.
  • The IF Archive. A long-running archive of games, tools and the history of the form.
  • itch.io. Where many indie and hobbyist authors publish, especially Twine stories, free or pay-what-you-want.
  • Choice of Games. Commercial interactive novels, each bought once.
  • Fallen London. A long-running story game in the browser, set in a Victorian London dragged underground.
  • Talerinth. Illustrated, AI-written interactive books in the browser. It's paid, from $1.99 (£1.79, €1.99) for one ten-chapter story, with no subscription and no ads.

A first taste of each

If you've never tried interactive fiction, try one of each kind and see which you like.

  • Parser: pick a highly rated short game from IFDB or a recent IFComp, and keep the help command in mind.
  • Choice-based: play a Twine game from IFDB in your browser, or a Choice of Games title if you want something long.
  • AI-written: try an open sandbox if you want to steer everything, or a guided book if you'd rather be told a story. On Talerinth, The Silence of Saint-Aubin starts with a vanished pianist and a hotel ledger, The Last Ember with a failing flame and a mentor hiding the price, and The Toledo Codex with a dead conservator and a page from 1492.

From there, our guides to AI story games, books where you make choices and interactive stories for adults go further into each corner, and all six Talerinth books are on the interactive stories page.

The books

Questions

What is interactive fiction?
Interactive fiction is a story where the reader's input shapes what happens next, either by typing commands, by picking from choices, or by directing an AI that writes the story. The term is used most for text-based works.
What is the difference between parser and choice-based interactive fiction?
In parser interactive fiction you type commands such as OPEN DOOR and the game interprets them. In choice-based interactive fiction you click or tap one of the options the author offers, which makes it easier to start but less open.
Where can I find interactive fiction to read?
The Interactive Fiction Database lists and reviews thousands of works, the annual Interactive Fiction Competition showcases new ones, and itch.io hosts many indie stories. Choice of Games, inkle and Talerinth publish commercial works.
Is AI-written fiction interactive fiction?
When the reader's choices shape what the AI writes next, yes, it fits the definition. Open AI sandboxes like AI Dungeon and guided AI books like Talerinth are both forms of it, and they feel very different to play.

More guides