How interactive stories really branch
We mapped the structure of 830 Twine interactive fiction games listed on the Interactive Fiction Database (IFDB): every passage, link and ending. The typical story is short, opens with a choice, keeps its endings to a handful and remembers what the reader did. More endings do not earn better reviews.
- 830Twine stories analysed
- 83.5passages in the median story
- 26choice points, with about 2.4 options each
- 3endings in the median story
- 51%give the first choice on the opening screen
- ρ = 0.01link between number of endings and player ratings
How many endings
The median story has 3 endings. A third offer five or more; one in five offers ten or more.
"None found": the parser could not detect an ending, usually because the story ends through a script.
When the first choice appears
Half of all stories ask the reader to choose on the opening screen, and 84% within the first three screens.
Endings by genre
Fantasy, romance and mystery branch the most; surreal and slice-of-life stories usually have one or two endings.
| Genre | Stories | Median passages | Median endings | 10+ endings |
|---|---|---|---|---|
| Fantasy | 95 | 165 | 5 | 36% |
| Romance | 25 | 110 | 5 | 24% |
| Mystery / crime | 39 | 164 | 5 | 31% |
| Humor | 36 | 91 | 4 | 28% |
| Horror | 115 | 86 | 3 | 17% |
| Science fiction | 78 | 98 | 2.5 | 23% |
| Slice of life | 58 | 43.5 | 2 | 14% |
| Surreal | 50 | 88.5 | 1 | 14% |
Do more endings earn better ratings?
No. Among 166 stories with at least five IFDB ratings, average ratings barely move with the number of endings (Spearman ρ = 0.01). Longer stories with more choice points do a little better (ρ = 0.21 for passages, 0.24 for choice points).
Recent stories are shorter
Stories released since 2023 have about half as many passages as earlier ones, a sign of the game-jam era.
What this means for writers
- Open with a choice. 51% of stories ask the reader to choose on the very first screen, and 84% within the first three.
- Two or three options per choice is the norm. The median choice point offers 2.4 options. Long menus are rare.
- A handful of endings is enough. The median story has 3 endings. Stories with 10 or more endings are not rated higher (ρ = 0.01 across 166 rated stories); longer stories with more choice points are rated slightly higher (ρ = 0.24).
- Let choices be remembered. 71% of stories track state with variables, so earlier choices change later scenes.
- Early endings are part of the design. In 46% of stories a reader can reach an ending within three screens, often a failure or death that sends them back to try again.
- Loops are everywhere. 90% contain links back to earlier passages: hubs to explore, retries and revisits.
How StoryX uses this
StoryX turns stories into interactive worlds with video, choices and characters you can chat with. Our story engine uses these structural patterns (shapes only, never the stories themselves) to suggest where a linear story could branch, how many endings it needs, and where to put the first choice.
Method and limits
- Sample: Twine games listed on IFDB with a playable HTML file, collected October–November 2026. 830 of 994 downloaded stories were analysed; stories with fewer than five passages or whose structure is mostly generated by scripts were excluded.
- Story formats: Harlowe 355, SugarCube 250, TiddlyWiki 166, Chapbook 25.
- We parsed passages and the links between them (links, go-to and display macros). A choice point is a passage with two or more different next passages; an ending is a passage with no way forward or one the author marked as an ending; screens are counted from the start passage.
- Links built at runtime by scripts are not followed, so some counts are lower bounds. Ratings come from IFDB and reflect its community of players.
- We publish structural statistics only. No story text is reproduced; titles link to their IFDB entries in the dataset.
Questions
How many endings does a typical interactive story have?
In our sample of 830 Twine stories the median is 3 endings. 28% have a single ending, 31% have two to four, and 36% have five or more.
Do more endings make an interactive story better?
Not by player ratings. Across 166 stories with at least five IFDB ratings, the number of endings has almost no relationship with the average rating (Spearman ρ = 0.01). Story length and the number of choice points show a small positive relationship (ρ ≈ 0.21–0.24).
How soon should an interactive story give the first choice?
Most give it immediately: 51% on the opening screen and 84% within the first three screens.
Which genres have the most endings?
Fantasy, romance and mystery stories have the most (median 5 endings); surreal and slice-of-life stories the fewest (median 1–2).
Can I use this data?
Yes. The per-story dataset is free to use under CC BY 4.0; please credit "StoryX, Twine branching study (2026)" and link to this page.
Cite as: StoryX (2026), "How interactive stories really branch: a study of 830 Twine stories". Published 3 December 2026.