About Spielerando
Spielerando is an open handbook for people who build games by talking to an AI. Everything here is free to read: the articles, the blueprints, the wiki entries with their tested code, and the checks that prove the rules hold.
What is on it
- Cookbook: how to build each kind of game with an AI, which tools to use and how to fix what breaks.
- Story help: plots without holes, characters who stay themselves, choices and quests that never get stuck.
- 113 blueprints: game mechanics in plain words, with their states, good starting values, the usual mistakes, tested example code and, for more and more of them, a TLA+, Z3 and Lean check.
- 3,257 wiki entries: one problem each, with the reasoning, the steps, the values, the pitfalls, a diagram where it has states, and tested code.
- 53 code recipes, learning paths, game data, origins of mechanics and law for game makers.
- Forum: show a mechanic you built, share a tip, or ask why the code your AI wrote misbehaves.
Why proof matters more as your game grows
An AI writes a jump, a door or a quest well. Trouble starts when the project grows and the rules begin to touch each other: a key that can be dropped behind the door it opens, a save made in the middle of a scene, two discounts that stack into free items, a character who mentions a secret on a path where they never learned it. Each rule looks fine on its own. The mistake lives in a combination, and the number of combinations grows much faster than the game.
Nobody holds all of them in their head, not you and not your AI. When an AI answers "I checked it, it works", that is a careful guess. Three tools turn the guess into an answer, and your AI can write all three:
- TLA+ with its checker TLC walks every path through your rules and shows the exact steps to the one that breaks. Best for orders of events: story branches, quests, doors and keys, saving, turns. Guide
- Z3 tries every setting in a range and finds the one number that breaks a rule, or proves there is none. Best for balance, economy and timing. Guide
- Lean proves a rule for every possible input. Worth it for the few core rules everything else relies on, such as "no item is ever lost". Guide
Z3 and a walk through every state of a TLA+ spec also run right in your browser, next to our checkers for stories, quests and game rules, with nothing to install and nothing sent anywhere: try them on the examples or on your own files.
What you need to do is small: ask your AI to model the rules first, to run the checker, and to show you what the checker printed instead of its own word. Every guide and text to paste on this site asks for exactly that, and the blueprints show worked examples with the real output. The bigger your game gets, the more this pays off: a check runs again in seconds after every change, so when the AI breaks what worked yesterday, you see it at once instead of a player finding it. The checking is what does it, not the drawing: when we measured it, asking an AI only to draw the model first did not make its code pass more tests.
How it is made
The pages are written with AI help and checked: example code runs against its tests, the formal checks are run and their output is shown as it came, and the articles name their sources. Games are named only as references, in the origins of a mechanic. The pictures are pixel art that is not generated: it is written as text and drawn by the site's own tested code. The little games on the blueprints' pages run each blueprint's tested code in your browser, and their code is open on GitHub.
What it is not
Spielerando does not see, run or store your game. Reading needs no account and costs nothing; an account exists only to write in the forum. The code here may be used in your own games; please do not republish the collection as a whole.
Contact
Write to [email protected]. Who is behind the site is in the imprint.