Copy this: before AI writes chapter N
1. Outline first: scenes, choices, and what each choice changes.
2. I approve the outline. No prose until then.
3. Write the chapter as a graph, not a script: each page has a scene,
captions, choices, effects, and conditions.
4. Every choice changes tracked state. If it does not, it is decoration.
5. Play every branch and every ending before calling it done.
The story
The Last Signal is an interactive sci-fi story I’m writing with AI. It’s a small web app with no accounts and no external services. It works offline, and your progress stays in your browser.
How it’s built:
- A chapter is a graph. Each page has a scene, characters, captions, choices, effects and conditions.
- Tracked state. The story tracks clues, trust, signal integrity and flags. Choices can be locked behind them, and a locked choice shows why it’s locked.
- The AI writes to the structure. I ask for an outline of the next chapter first and approve it before any prose exists.
- The tests play the story. One test walks all three branches and all three endings, at phone and desktop sizes.
What I got wrong: I opened the book with a long “make it yours” form for a name and avatar. A review flagged that it stood between the reader and page one. Now there’s a single “Start the story” button, and personalizing is an option below it. The reader can still set a name and avatar.