Check your game's rules in your browser
Four checkers that run right here, in this tab: one for stories, quests and game rules, one for Twine stories, Z3 for numbers, and a walk through every state of a TLA+ spec. Load an example from this site or paste your own file, press the button, and read what the checker found, with the exact path to every problem.
What you type stays on your computer
The checkers come from spielerando.com and then run inside your browser. What you paste, type or open here is never sent, not to us and not to anyone else. Your browser holds the page to that: it may only connect to spielerando.com and to the visit counter every page of this site has. Close the tab and your text is gone. How the visits are counted: privacy policy
Stories, quests and game rules
These are the checkers from Spielerando's code recipes, the same code the recipe pages show and test. Each takes your story, quests, dialogue, state machine or game card written as JSON, walks every way it can go, and reports every dead end, broken rule and part nobody can reach, each with the path that leads there. Your AI can write the JSON from your game; the recipe page shows how it is built.
Twine stories: dead ends and broken links
Paste a Twine story or open its file: a Twee file, or the HTML file Twine publishes or keeps in its library. The check reads every passage and its links the way Harlowe, SugarCube or Chapbook reads them, and lists every link to a passage that does not exist, every passage no player can reach from the start, every dead end, and every variable that is read but never set or set but never read. Each finding names the passage, and the path to it from the start. What it reads in each story format, and what it does not: the Twine guide.
The report as text, for your AI
Z3: is there any number that breaks it?
Z3 is a solver from Microsoft Research. A file names your numbers, the range each one can take and the thing that must never happen, and Z3 searches every value in those ranges at once. It answers sat when it found a setting that breaks the rule, and shows it; unsat when no setting in the ranges does; unknown when it could not decide, which is never a pass. How to write these files: the Z3 guide.
TLA+: every path through your rules
A TLA+ spec writes down what your game remembers, how it starts and every move it allows. This walks every state those moves can reach and tests your rules in each one: the invariants, the rules for each step (written [][โฆ]_vars), and whether the game can get stuck with no move left. When a rule breaks, it shows the shortest path there, step by step, in the words TLC uses.
This is not TLC. TLC, the official checker, is a Java program and does not run in a browser. This page walks the states with tla-web, a TLA+ interpreter in JavaScript by William Schultz. On every example below it comes to the same result as TLC: the same number of states where TLC walks them all, and a path of the same length where TLC finds the planted mistake. It is far slower than TLC, so keep the numbers small: the whole dash blueprint took two and a half minutes in Chrome in our test, and TLC about a second. That is why the inventory and the loot table are here only with their planted mistakes, which it finds in seconds. It does not check rules about the future, such as []<> or ~>, nor fairness, SYMMETRY or ASSUME, and the report names what it left out.
java -cp tla2tools.jar tlc2.TLC -config Cellar.cfg Cellar.tlaNext step
Story help
Show Me Where That Is Written: Keep Your AI From Guessing
Here you paste a file and read the path yourself; that page makes it a habit for your AI, which quotes the line each answer rests on, pastes the checker's path, or says it does not know.
Where the checkers come from
Z3 4.15.4: Microsoft Research, MIT licence, from the z3-solver package. The TLA+ walk: tla-web (Spectacle) by William Schultz, MIT licence, with the tree-sitter TLA+ grammar and lodash, both MIT; this page changes four things in it while it runs, for safer state fingerprints, for speed, for primed definitions in step rules, and so that it never loads anything from the internet. The story, quest, dialogue, state machine and game card checkers and the Twine check: Spielerando's recipes, MIT licence.