Start this hobby
Your first practical checklist
Buy or borrow
Twine. Free and open source; it works in a browser or as a download, and publishes your story as a single web page you can share
First 30 minutes
Play two or three short interactive fiction pieces from a free site such as itch.io and note what each choice felt like.
First week goal
Write an ending for each branch, ask someone to play it, and fix any dead end or confusing choice they hit.
Avoid this mistake
Giving every choice a completely different outcome creates far more text than you can finish, so let branches rejoin and use variables to track differences.
Is this for me?
A quick fit check
Good signs
- You enjoy reading branching stories or text adventures and often wonder what would have happened if you had chosen differently.
- You like planning structures, such as maps or flowcharts, as much as writing the prose.
- You are comfortable with a bit of logic, because even simple stories use variables like 'has the key' or 'trust'.
Think twice if
- Branching multiplies your writing, so a story with many routes can take far longer than a linear short story of the same length.
- Testing is slow and repetitive, since you need to play every route to find broken links and logic errors.
- Audiences for interactive fiction are small and specialist, so you will probably share with a niche community rather than a large readership.
Make interactive fiction coding easier
Open Twine in a browser and write a story of five to eight passages before reading any manuals. Finishing something tiny teaches the format faster than studying a larger tool.
First session
What to do in the first 30 minutes
Open Twine, create a new story, and rename the start passage; write a few sentences setting a scene with two choices at the end.
Turn each choice into a link using double square brackets, such as [[Open the door->Hallway]], and let Twine create the new passages for you.
Write each of those new passages in a few sentences, giving one a dead end and another a link that returns to an earlier passage.
Press Play to read your story as a player, click every link, and note any passage that feels confusing or leads nowhere.
The appeal · Digital practice
Why try interactive fiction coding?
Interactive fiction coding means writing stories that respond to the reader, either by choosing from links (choice-based, as in Twine) or by typing commands such as go north (parser-based, as in Inform). It differs from ordinary fiction because you plan branches and states, and from video game development because the work is mostly words and logic rather than graphics. Most beginners begin with a small Twine story, then try variables and conditions, and later move to parser games or larger narrative scripting tools.
Storytelling with structure
Planning how choices change a story teaches you about pacing, consequences and what readers care about.
Low barriers to entry
Twine and Inform are free, and a story can be as short as ten passages, so you can finish and publish quickly.
An active community
There are yearly competitions and forums where people play and discuss each other's games, so feedback is readily available.
Keep it simple
What you need to begin
- TwineFree and open source; it works in a browser or as a download, and publishes your story as a single web page you can share
- Inform 7 (optional, for parser games)Also free; its code reads like English sentences, which suits writers, but it has a learning curve so try Twine first
- A paper map or flowchartSketching passages as boxes and arrows before you write stops branches from tangling
- Two or three friends as playtestersFresh readers find dead ends and confusing choices that you will never see in your own work
The fundamentals
Four skills to build
Branching and structure
Deciding where routes split, rejoin or end keeps the story manageable and meaningful.
Variables and conditions
Remembering what a player did and showing different text later, using if statements, is what makes choices matter.
Writing for choice
Short, vivid passages with clear, interesting options keep players reading and help them understand what they are choosing.
Playtesting
Watching someone else play, without explaining, reveals the dead ends, unclear wording and bugs you cannot see yourself.
Software deep dive
Interactive Fiction Coding: zero to professional
Programming is the practice of turning a messy human problem into small, testable instructions. In 2026, AI assistants can speed up syntax and boilerplate, but beginners still need fundamentals: reading errors, tracing data, using Git and finishing small projects.
Fresh context
What to know now
- ↳Use AI as a reviewer and explainer, not as the only author. You still need to understand every file you ship.
- ↳Old single-purpose starter tools age quickly. Prefer official docs, small vanilla projects, or maintained framework starters.
- ↳Employers and serious collaborators care about proof: deployed projects, readable commits, tests, issue notes and clear explanations of trade-offs.
Start with the right route
Common options and trade-offs
Web path
HTML, CSS and JavaScript give fast visual feedback and teach the browser platform beneath React, Vue, Svelte and every website builder.
Python path
Strong for automation, data, scraping your own data, command-line tools and backend services. The official tutorial is current and well maintained.
JavaScript/TypeScript app path
Good for full-stack apps because one language can cover browser, server, testing and tooling.
A practical setup
Common tools and what each one does
Pick one editor and learn search, multi-file replace, terminal, debugger and extensions slowly.
Learn folders, paths, environment variables, package scripts and how to read exit errors.
Commit small working checkpoints with messages that explain why, not just what.
Use issues, pull requests and CI even for solo projects once the basics work.
Choose the runtime your project needs; avoid installing every tool mentioned in tutorials.
Start with a few tests for important functions and previous bugs before chasing full coverage.
Do not skip levels
A five-stage learning roadmap
Learn files, terminal navigation, variables, functions, conditionals, loops and reading stack traces.
Proof you are ready to move on: Build a calculator, text formatter or static page without copying a full tutorial.
Handle user input, arrays or objects, modules, DOM events or files, and basic Git branching.
Proof you are ready to move on: Build a searchable list, quiz, simple API client or useful automation script.
Use persistent storage, validation, async code, APIs, authentication basics and automated tests.
Proof you are ready to move on: Ship a tracker with create, edit, delete, empty states, errors and a deploy URL.
Study architecture, databases, accessibility, security, performance budgets and operational monitoring.
Proof you are ready to move on: Run a small multi-user app with backups, logs, migrations and rollback notes.
Practise code review, issue breakdown, debugging production failures and documenting decisions.
Proof you are ready to move on: Maintain a project used by real people and show how feedback changed it.
How real work gets done
A professional workflow
Use the same sequence on small personal projects that you would use on serious work. The scale changes; the discipline does not.
- Write the user problem, constraints and one measurable success condition.
- Sketch data, screens and failure states before choosing libraries.
- Build the thinnest complete version that runs end to end.
- Commit after each working change and keep a readable project log.
- Test expected, empty, invalid, slow and failure states.
- Deploy, observe real behaviour and document the next decision.
Build evidence, not tutorial history
Three portfolio milestones
Tiny personal utility
A script or page that solves one annoyance you actually have.
Local-first tracker
Structured data, filtering, validation, persistence, tests and responsive layout.
Production service
Accounts, database migrations, permissions, observability, backups and a deployment pipeline.
The difference at professional level
Habits that make work trustworthy
- ✓Name variables and functions for their purpose, not their implementation.
- ✓Keep changes small enough to review and revert.
- ✓Write tests around important behaviour and past bugs.
- ✓Treat accessibility, security and error handling as requirements.
- ✓Document setup, architecture decisions and operational steps.
- ✓Measure before optimising and verify after deployment.
Words you will encounter
Essential vocabulary
- Repository
- A project and its version history, usually managed by Git.
- API
- A defined way for one piece of software to request data or behaviour from another.
- Runtime
- The program or environment that executes code, such as a browser, Node.js or Python.
- Dependency
- External code a project relies on; dependencies must be updated and reviewed.
- Framework
- A structured set of tools and conventions that controls part of an application's architecture.
- Deployment
- The repeatable process that releases a tested version for people to use.
Continue with primary sources
Official learning resources
Documentation is a working tool, not something to read once from beginning to end. Follow one structured introduction, then return with specific questions from a project.
Four small steps
Your first week
- Play two or three short interactive fiction pieces from a free site such as itch.io and note what each choice felt like.
- Create a Twine story with five passages linked in a simple branching pattern, and test every route.
- Add a variable, such as whether the player has picked up a key, and use an if statement so a later passage changes.
- Write an ending for each branch, ask someone to play it, and fix any dead end or confusing choice they hit.
The longer path
How progress usually looks
For interactive fiction coding, a sustainable rhythm is two or three 45-minute writing sessions a week, with a short story finished and tested every few weeks. Move forward when the current step feels repeatable, not merely possible once.
A first branching story
You publish a short Twine story with several passages and endings, and every link works.
Using variables
You track inventory, relationships or time with variables, and use conditions so later passages react to earlier choices.
A longer or styled piece
You write a story of a few thousand words, add custom styling, or try a parser game in Inform or a script language such as ink.
Entering a competition
You release your work on itch.io or the Interactive Fiction Database, enter a community competition and respond to reviews.
Progress markers
What improvement looks like
You publish a short Twine story with several passages and endings, and every link works.
You write a story of a few thousand words, add custom styling, or try a parser game in Inform or a script language such as ink.
You release your work on itch.io or the Interactive Fiction Database, enter a community competition and respond to reviews.
Spend deliberately
A realistic cost plan
The headline starting range is Free–£10, but access, borrowing and second-hand equipment can change that substantially.
Learn with other people
Community and safety
Finding your people
The Interactive Fiction Database, the intfiction.org forum and itch.io are the main places to play, discuss and share games, and an annual competition called IFComp draws many entries. Writers' groups and game jams, including ones run by UK game developer meetups, can also be a good source of playtesters.
Safety note
There are no physical risks, but stories can deal with difficult themes, so add content warnings at the start. If you ask strangers to playtest, avoid sharing personal details, and credit any art, fonts or music you use.
Three common beginner mistakes
- Giving every choice a completely different outcome creates far more text than you can finish, so let branches rejoin and use variables to track differences.
- Hiding the effect of a choice makes players feel it does not matter, so reflect their earlier decisions in a line of text soon after.
- Skipping playtesting leaves dead ends and typos in the final story, so test every link yourself and then watch one other person play.
Good to know
One tip worth keeping
A common mistake is branching endlessly so that you write ten times more text than any reader sees. Let branches rejoin quickly, and test every link before sharing. Mention content warnings if your story deals with difficult themes.
Before you begin
Common questions
What is the difference between Twine and Inform?+
Twine is for choice-based stories where you click links, and is quick to learn. Inform is for parser games where players type commands, and it takes longer to learn but models rooms, objects and actions in depth.
Do I need to be able to code?+
Not at first. A simple Twine story is just text and links. You pick up variables and conditions when you want choices to matter.
Can I make money from interactive fiction?+
Some authors sell games, and some tools and publishers exist for commercial work, but most beginners publish for free. Check each tool's licence terms before selling anything.
How long should my first story be?+
Aim for five to fifteen passages, finished and tested, instead of a long epic. A complete small story is more valuable practice than an unfinished large one.
Where can I play examples?+
itch.io and the Interactive Fiction Database both list games with ratings and descriptions, and competition entries are a good way to see what the best short pieces look like.