Game Manual

Build a Better Bot — design pages, rendered from the repo docs.

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.

The four power colors
BLACK defense & growth
BLUE support & distribution
PINK control & interference
YELLOW speed & 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

PageSystemStatus
stationsthe arena, the shop and the Power Station, and what flows between themiterating
botsthe body the player builds, owns and specializessettled
modsequippable behaviors fired from constellation starssettled
stancesthe one mode a bot holds until it takes another, written in up to three clausessettled
starter-treeseach 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 stariterating
star-slotsthe slots a star holds, the Combat and Shop specs that fill them, and last level’s tallyiterating
power-color-mechanicswhat each color means, and the abilities it fuelssettled
core-abilitiesthe shared mechanics every arena mod composes fromsettled
buffshow each buff a body holds lasts, stacks and endsiterating
threadshow a thread walks, advertises and planssettled
thread-decision-modelhow a thread scores its plans, searches for them and picks onesettled
arenacombat round evaluationsettled
idle-and-clashidle and clashing bots on the arena: danger zones, the idle tree, idle runs and the station paceiterating
circuit-terrainthe eight circuit features a qualifier-circuit level lays on its battle’s board, and the round clock that runs them at each round’s openingiterating
circuit-rivalsthe 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 themiterating
level-schedulingchoosing and running encounterssettled
progression-economytyped tokens gate every capabilitysettled
enginehow the code that runs the game is organized: its packages, their rules, and how threads, mods and stations meetsettled
statethe shared records and the activity logsettled
power-stationthe player’s hand in a live battleiterating
shopthe contested floor of two generators whose pips fill the supply bin’s tickets and charge the handiterating
storyscenes gated by progression, chosen in the fictionsettled
occasionswhat just happened, which scenes name as their trigger, and the holds that stop playiterating
pointthe player’s constant command in a battle: positive and negative points on the arena, and the doors a battle declaressettled
town-mapthe buildings between levels: selecting one, entering it, and what the map plays after a leveliterating
base-levelsthe 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 scenessettled

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 —

🪃 Ricochet
Power Yellow

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.

— and the manual draws it as the mod: its own mark, its catalog name, and the card the game shows on hover. GitHub still renders the name, so nothing is lost to a reader there, and nobody writes a tag where a word belongs. A mod the roster drops takes its citations down with it.

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.