Game Design — Build a Better Bot
Build a Better Bot is an autoplay management game — you don’t fight, you build the fighters. Assemble a stable of bots, research the mods each one’s constellation places at its stars, and check it out to a station — the combat arena or the shop’s floor — where it acts on its own: each step carries out a part at each station, a thread turn or, at the arena, an idle run of the bots out of a clash. Behavior is never scripted: threads walk a bot’s constellation each turn and fire the mods they find, so a bot plays the way you built it. The bot-free power station turns that work into a hand of glitches you fire into a live battle yourself.
Four power colors bind everything — every bot, mod, and research node speaks them, and matching colors is how kits combine. BLACK is defense and growth, BLUE support and distribution, PINK control and interference, YELLOW speed and aggression.
Progression gates the whole game. Typed tokens awaken threads (a bot acts only with a thread assigned to pilot it), research mods, and place Star Slots that open stars — every capability earned, and only a reset takes back a researched mod or a placed Star Slot. The player chooses which researched mods each bot installs in its slots. The pages below take each system in turn.
Pages
| Page | System | Status |
|---|---|---|
| stations | the arena, the shop and the Power Station, and what flows between them | iterating |
| bots | the body the player builds, owns and specializes | settled |
| mods | equippable behaviors fired from constellation stars | settled |
| stances | the one mode a bot holds until it takes another, written in up to three clauses | settled |
| starter-trees | each chassis’s tree: the starter, mod 1 and three line heads on the first two stars, the older mods on the lines behind them, placed by star | iterating |
| star-slots | the slots a star holds, the Combat and Shop specs that fill them, and last level’s tally | iterating |
| power-color-mechanics | what each color means, and the abilities it fuels | settled |
| core-abilities | the shared mechanics every arena mod composes from | settled |
| buffs | how each buff a body holds lasts, stacks and ends | iterating |
| threads | how a thread walks, advertises and plans | settled |
| thread-decision-model | how a thread scores its plans, searches for them and picks one | settled |
| arena | combat round evaluation | settled |
| idle-and-clash | idle and clashing bots on the arena: danger zones, the idle tree, idle runs and the station pace | iterating |
| circuit-terrain | the eight circuit features a qualifier-circuit level lays on its battle’s board, and the round clock that runs them at each round’s opening | iterating |
| circuit-rivals | the qualifier circuit’s three regions, the ten rivals native to them and the thread they share, the questions each asks of the player’s build, and the level card that shows them | iterating |
| level-scheduling | choosing and running encounters | settled |
| progression-economy | typed tokens gate every capability | settled |
| engine | how the code that runs the game is organized: its packages, their rules, and how threads, mods and stations meet | settled |
| state | the shared records and the activity log | settled |
| power-station | the player’s hand in a live battle | iterating |
| shop | the contested floor of two generators whose pips fill the supply bin’s tickets and charge the hand | iterating |
| story | scenes gated by progression, chosen in the fiction | settled |
| occasions | what just happened, which scenes name as their trigger, and the holds that stop play | iterating |
| point | the player’s constant command in a battle: positive and negative points on the arena, and the doors a battle declares | settled |
| town-map | the buildings between levels: selecting one, entering it, and what the map plays after a level | iterating |
| base-levels | the tutorial: the thirteen base levels, T1 to T13, at sites around your base and on the ring road, their tutorial rivals, the wipe, and their scenes | settled |
Depth beyond a page lives in companion docs — e.g. ../multi-thread.md for threads as catalog items, and ../landscape-stage.md for how every screen of the
game is laid out on one scaled landscape stage, its research economy and its
mod descriptions.
The design tools have their own pages: ../level-editor.md for the level editor at /editor/level, which paints a battle’s board on the game’s own board and
answers through the engine’s /editors routes, and ../story-editor.md for the story’s design seam. Pages link, never restate.
The pages draw the game
These pages are markdown, read here on GitHub — and they are also the Game
Manual at /game-manual in AdminUI, where the same files compile as Svelte
components (mdsvex). So a page can host a widget: a live piece of the real
frontend, drawn by the shared packages the game itself draws with, or read
straight out of data/.
A page shows the game rather than approximating it — that is the rule the widgets exist for. An effect loops through the same event module’s look a battle draws; a thread’s dials carry the numbers in its catalog YAML; a star card is the one the stable renders. None of it can drift, because none of it is a second copy.
A widget is a capitalized tag on its own line — <PowerColors />. GitHub drops
it, so every widget illustrates prose that already stands without it; never
put a fact only in a widget. The vocabulary is adminui/src/lib/components/manual/widgets/, and a tag naming something that
isn’t exported there fails the build.
Naming a mod is enough. Write it as code — Deals 2 damage to a target within 2 tiles. Arcs to the nearest
rival for 1 more damage. If a target has charge, it
detonates.
Page template
Every page is a one-pager:
- Title —
# <System> — <one-line role in the game>, followed by<Status of="settled" />(settled·iterating·stub). - Prose — a handful of short paragraphs, each led by a bolded topic label: a plain name for the paragraph’s subject, never a slogan. Lead each page, section and paragraph with its most important fact, so a skimmer still comes away correct. Write for a reader who is smart but new: what the system is, how it fits the game, and the principles and boundaries that shaped it. Define a term once and reuse it; link out rather than repeat; prefer plain words to jargon. Declarative, not a soapbox. No requirement lists, no API tours, no history.
- Widgets — where the page makes a claim about something the reader would rather see: a look, a shape, a fingerprint, a mark. Never write a static count of dynamic content — rosters, trees, packs. A widget or the data file carries the live number; prose states the mechanism. Where a value truly has to be written down static, mark when it was taken so a reader knows it may have drifted.
- Derived specs — a closing note naming the spec file(s) and requirement families this page governs.
A stub keeps the same shape at whatever length is honest: a paragraph for what is settled, a status line admitting what is not.