ostyss
ostyss
All articles
GuideInteractive fictionWorlds

How to make a choose your own adventure game

By Pierre Bonnet · · 9 min read

A choose your own adventure game is a story cut into scenes, with a decision at the end of each one. Writing the scenes is the easy part. The hard part is arithmetic: every choice doubles what you have to write, unless you plan for it.

You do not need to code, and you do not need a finished novel. You need a situation, a hero, and a plan for the branches, in that order. This guide goes through the method step by step, then through the tools: paper, free software, and a newer way where you write the world and the scenes are written as each reader plays.

Start with a premise that forces a decision

A premise for a linear story can be a mood or a place. A premise for a story with choices has to be a situation with a decision already inside it, and a clock that stops the hero from waiting it out. The test is short: can you say the first choice in one sentence?

Three premises that pass the test, if you are looking for choose your own adventure ideas to start from:

  • The toll bridge. The night before the bridge is sold, the keeper's apprentice finds the strongbox open and empty. She can wake the keeper, or look for the thief before dawn.
  • The wrong groom. On the morning of a wedding, one guest recognises the groom as a man who was buried two winters ago under another name. Speak up in front of both families, or follow him first.
  • The cook's vote. On the same evening, the officers and the crew each ask the ship's cook which side the galley is on. Whoever is refused eats last, and remembers it.

Each one says who decides, between what, and by when. We will keep the toll bridge for the rest of this guide.

Give the hero something to want

In this genre the hero is usually "you", and it is tempting to leave that "you" blank so that anyone can step in. A blank hero makes every choice arbitrary, because nothing is at stake for someone who wants nothing. Give the hero three things: something they want, something they fear, and one line they will not cross.

Our apprentice is Idony. She wants the keeper's post when he retires. She is afraid of being blamed for the theft, since she holds the second key. She will not let old Hob, the keeper, take the fall for it. Now the first choice has weight: waking Hob is honest and puts her under suspicion; searching alone protects her and leaves him exposed at dawn.

Plan branches that rejoin

Here is the arithmetic that ends most first attempts. If every choice splits the story in two and the paths never meet again, ten choices in a row need 1,024 endings. Nobody writes that. The games that get finished let their branches come back together.

ShapeHow it worksWhat it costs you
Pure branchingEvery choice splits the story for good.It doubles at each choice. Fine for five minutes of play, out of reach beyond that.
Branch and rejoinPaths split, then meet again at a few fixed scenes that every reader reaches.A few dozen scenes for a long story. The usual choice.
One road with detoursA single line of scenes, with short side paths that come back or end early.The cheapest. Choices change the colour of the story more than its course.

The designer Sam Kabo Ashwell catalogued these shapes and several others; his essay is in the sources below. For a first game, pick branch and rejoin, and choose your fixed scenes before anything else. For the toll bridge: the open strongbox, the thief found, the buyer arriving at dawn. Whatever Idony does in between, she will be standing on the bridge when the buyer arrives. What changes is what she knows, who stands beside her, and what is in her pockets.

Fix the scenes every reader will reach. Let the choices decide in what state they arrive.

Make choices cost something

A choice between a good option and a bad one is a quiz. A choice worth offering passes three checks:

  • Both options are tempting, and each gives up something the other keeps.
  • The reader sees a consequence quickly, within a scene or two.
  • The story brings it up again later, when the reader has stopped expecting it.
A choice that costs, from the toll bridge
The story

The strongbox lid hangs open. Three days of tolls are gone. Upstairs, Hob is asleep, and his key is still on its nail. Yours is in your apron.

Two options, and neither is safe: wake Hob, or go after the thief alone.

You

I leave Hob asleep and follow the wet footprints toward the mill.

The story

The prints end at the millrace. When you come back before dawn, Hob is standing over the empty box, and the first thing he looks at is your apron.

The consequence arrives within a scene, and it will matter again when the buyer asks who had a key.

Keep the story consistent

Branches that rejoin create the genre's classic bug: a scene that reads correctly for one way of arriving and wrongly for another. Idony cannot be surprised by the buyer's name if, on one path, the thief already told her.

The fix is a ledger, one page long. List the handful of facts that can differ from one reader to the next: who knows about the theft, whether Hob trusts Idony, where the money is. Three or four facts are plenty for a first game. At every fixed scene, read the page and write the variations the facts demand. Software does this bookkeeping with variables; on paper, a pencil works.

This trade between freedom and coherence runs through the whole genre. We lay it out in what interactive fiction is.

Test it by trying to break it

  1. Play every path to its end, once, with the ledger beside you.
  2. Play it badly on purpose. Take the option you find least interesting at every choice and see whether the story still holds.
  3. Hand it to someone and say nothing. Note where they hesitate, and where they pick without reading: that choice does not cost enough.
  4. Look for dead ends: a path that stops without an ending, or an ending that arrives before anything was decided.

A one-page template

If you want a choose your own adventure template to fill in, this one fits on a single page and is enough for a short game:

  1. The premise, in one sentence that contains the first choice.
  2. The hero: a want, a fear, a line they will not cross.
  3. Three fixed scenes that every reader reaches.
  4. Two choices between each fixed scene and the next, each with a cost.
  5. A ledger of three facts that can differ.
  6. Three endings, decided by the ledger at the last scene.

Pick what to build it with

ToolWhat it isGood for
Paper or index cardsOne scene per card, numbered, with "go to" lines.Planning any game, and finishing a short one.
TwineA free, open-source tool that shows your story as a map of linked passages and publishes it as a web page.A first game, with no code to begin.
inkA free scripting language for branching stories, made by the studio inkle, with its own editor.Longer stories with many variables, if a little scripting does not put you off.
An AI-driven worldYou write the world and the shape of the story. The scenes are written as each reader plays.Stories where readers can try what you did not plan.

The first three give you control of every sentence, and you pay for it in scenes written by hand. The fourth turns that trade around.

Another way: write the world, and let the branches be written

This is what we build at Nostyss, so read this part knowing who is writing it. In the world creation workshop you do not draw a branch map. You set down a world and the shape of its story, and when someone plays, each scene is written for the move they just made.

You need an account to create. You can start from an idea of your own, ask for a whole world to be proposed and then correct it, or bring a world you already wrote as an EPUB file. The workshop then goes through six steps: the world's look, its people and who the reader plays, its story (a prologue, then acts laid out on a timeline), what happens in it, its laws and its secrets, and a last read of the whole book. From there Nostyss writes the rest: the places, the faces, a map and the first page.

The method in this guide still applies, in another form. Your fixed scenes become the acts and their key moments. Your ledger becomes the world's laws and secrets. The reader is offered three moves at every turn and can always write their own, which a branch map drawn by hand cannot offer.

What you give up is control of the sentence. The prose is AI-generated, inside the world you set down, and a long generated story can still slip on a detail. You decide the acts and the moments that matter; you do not script the exact turn at which a given reader reaches them. If you want every word to be yours, use Twine or ink.

When the world is ready, you can share it. It appears in Explore, signed with your pen name, and anyone with its link can play it without an account. To see this kind of game from the reader's side first, play a choose your own adventure game, then open the world creation workshop.

Choose Your Own Adventure is a trademark of Chooseco LLC; this article uses the phrase for the genre.

Questions

How do you make a choose your own adventure game?

Start with a premise that contains a decision, and a hero who wants something. Choose three or four fixed scenes every reader will reach, put two or three choices between them, and keep a one-page ledger of the facts that can differ. Then play every path. You can build it on paper, in a free tool such as Twine or ink, or in an AI-driven world.

How do you write a choose your own adventure story without it growing out of control?

Let the branches rejoin. If every choice splits the story for good, ten choices need 1,024 endings. If the paths meet again at a few fixed scenes, a long story needs a few dozen scenes, and the choices decide in what state the reader arrives at each one.

Do I need to code to create a choose your own adventure game?

No. Paper and index cards work, and Twine lets you link passages without code. ink asks for light scripting. In the Nostyss world creation workshop you describe a world in plain words, and the scenes are written as readers play.

Is there a choose your own adventure maker that uses AI?

Yes. The Nostyss world creation workshop is one: you set down a world, its people, its acts, its laws and its secrets, and each scene is written for the reader's move. You need an account to create, the prose is AI-generated, and you do not control every sentence as you would in a branching tool.

How many endings should a choose your own adventure game have?

For a first game, three is enough. What matters is that each ending follows from choices the reader remembers making, so decide the endings from your ledger of facts at the last scene, and not from the very last choice alone.

Sources

  1. Standard Patterns in Choice-Based Games · Sam Kabo Ashwell, 2015: the shapes a branching story can take, named and drawn.
  2. Twine · The tool's own site.
  3. ink, by inkle · inkle's page for its scripting language.

See whether the story stays true

Ten worlds you can start without an account. Play a few chapters, contradict something you established earlier, and watch what the world does about it. That test is the honest way to judge any of this.

Choose a world

Keep reading

AI Dungeon alternatives: six to try, and who each one is for
Six alternatives to AI Dungeon, sorted by what you play for: rules and dice, co-writing, roleplay chat, illustrated adventures, or a story that keeps to its world.
What is interactive fiction? A plain guide
Interactive fiction covers parser games, gamebooks, visual novels and AI text adventures. What each one actually is, and how to pick where to start.