A pixel-art dungeon with a hero facing an orc

18 of 45 parts decided by the app

How BookRPG runs your game

The AI writes the story and plays the characters. The app rolls the dice, keeps the score, guards the secrets and remembers everything. Here is how the two fit together.

One turn in six steps.

You type what your hero does. Before you read a word of the reply, the app and the AI have each done their part.

  1. AppGathers the sceneWho is here, where you are, what each character knows, and the past scenes that matter now.
  2. AIPlans the next beatThe Director decides what the scene is about and which checks it needs.
  3. AppRolls the diceTime passes, difficulty is set from the facts, and every roll is made and logged.
  4. AIWrites the sceneEach character acts from its own knowledge, then the scene you read is written from the dice.
  5. AppChecks and savesEvery proposed change is checked against the rules; rewards, costs and the clock are applied.
  6. BothMoves the worldWhile you read, characters off-screen act and the next turn is prepared.

The Game Master is a crew.

Each job in the story has its own player. You choose a small, medium or full crew; the full crew is the default.

Director

Plans the next beat, the pacing and the story clocks.

One player per character

Each sees only its own card and what it knows.

Scene Writer

Writes the scene you read, from the dice.

World Runner

Moves characters and factions you cannot see.

Heart

Plays a relationship beat when feelings cross a line.

Records

The app part that checks every change and is the only one that writes your save.

How the Game Master remembers.

BookRPG works like a search engine for your own story, a method called retrieval-augmented generation. The AI does not have to hold the whole campaign in its head: each turn, the app finds the few past scenes and facts that matter and hands them over.

  1. Your saved storyEvery turn, character and fact is saved on your computer as you play.
  2. Two indexesA keyword index finds the words; a knowledge graph links people, places and events.
  3. Who may knowResults are filtered so secrets never reach a character who should not know them.
  4. This turn’s memoryThe best facts and a few one-sentence scene quotes go into the turn.

95–100%

of questions found the right past scene in the top five, on our 40-question recall test over a 44-turn campaign. The higher figure is with the Director’s own search terms added.

It also learns the names you use: call the Old Bridge “the crossing” once, and later questions about the crossing find it.

How much the app decides, and how much the AI.

Every word you read is written by the AI. Most of the numbers behind those words are kept by the app.

Method: we sorted the 6 steps of a turn and the 39 game systems in the Python and Rust apps by who decides the outcome. Each counts once, whatever its size, so this counts parts, not effort or words. In the skill for Claude Code and Codex there is no app, so the AI also does the bookkeeping, following the same rules.

See all 45 parts

App · 18

  • Gather the scene and memories
  • Set the time and difficulty, roll the dice
  • Check and save every change, pay rewards
  • Dice ledger
  • The save, with one writer
  • Memory search and recall
  • Clock and calendar
  • Hunger, fatigue and rest
  • Difficulty dial and situational difficulty
  • Practice and skill ranks
  • Inventory and equipping
  • Prices and haggling
  • Merchant reactions
  • Reward floors
  • Referee checks
  • Dress codes
  • Pixel hero from your description
  • Tavern dice and cards

Shared · 23

  • The world moves while you read
  • Festivals and codex
  • Dungeons and travel
  • Quests and bounties
  • Loot
  • Skills and their parts
  • Evolution map
  • Breakthroughs and trials
  • Classes and bestiary
  • Foraging
  • Learning items
  • Mutations
  • Karma
  • Fame
  • Companions
  • Housing, mounts and pets
  • Chess and checkers
  • Fishing and cooking
  • Arena and races
  • Ghost heroes
  • World ripple (consequences spread)
  • Personality types
  • Relationship beats

AI · 4

  • Plan the next story beat
  • Characters act and speak, the scene is written
  • World creation at New Game
  • Suggestions for what to do next

Your story stays on your computer.

There is no BookRPG account and no BookRPG server between you and your game.

  • Each campaign is one save on your own disk, backed up every 10 turns
  • Export it any time as plain text files you can read, copy or keep
  • Your AI key goes straight to the provider you chose, stored encrypted for your Windows user
  • Or run a local model through Ollama or LM Studio
A pixel-art village