Guide 07 Independent notes
How to make interactive fiction
You can write a branching story in an afternoon with free tools. This guide explains what interactive fiction is, which tool to choose, how to plan a first piece and how to publish it.

What interactive fiction is
Interactive fiction is a story in which the reader's choices or typed commands shape what happens. There are two main kinds. In choice-based stories you pick from links or buttons. In parser-based stories, the old text adventures, you type short commands such as take lamp or go north, and the program interprets them.
It sits next to hypertext fiction, described in the hypertext fiction guide, and next to games. The difference is mainly emphasis: interactive fiction usually puts the writing first.
Free tools to start with
- Twine is a free, open-source tool for telling non-linear stories. It shows your passages as boxes joined by arrows, and it publishes a story as a single web page. It runs in a browser or as a desktop app and is the usual first choice.
- Ink is an open-source scripting language for narrative from the studio inkle, used in games and web projects.
- Inform is a design system for parser-based stories and has a large community and documentation.
- Plain HTML, CSS and JavaScript work too, and give full control over the look.
If you want a free story maker with no code, start with Twine. If you want typed commands, choose Inform.
Planning a first story
Keep it small. A first piece of twenty to forty passages is more likely to be finished and read than a sprawling one.
- Write one sentence about what the reader wants and what stands in the way.
- Sketch the shape on paper: a few early choices, a few places where the paths meet again, and two or three endings.
- Let branches rejoin. A story where every path splits forever grows too large to finish.
- Make each choice meaningful by showing its result in the very next passage.
- Play it yourself from every ending back to the start, then ask a friend to play it and watch where they hesitate.
Making it accessible
Use real text, clear contrast and a readable size. Make sure every link can be reached and chosen with the keyboard. Avoid timed choices unless you also offer a way to pause, avoid flashing effects, and respect the system setting for reduced motion if you add animation. For visual and sound effects, the same ideas apply as in digital poetry.
Publishing and finding readers
A Twine story is one HTML file, so you can host it on any basic web space or a page-hosting service. Sites for hosting small games also accept it. The annual Interactive Fiction Competition, known as IFComp, has run since 1995 and is a place to find work and, if you like, enter your own. Read about the bigger field in electronic literature.