Game Manual

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

Bots — what the player builds, owns, and sends to work

settled decided — build to this page

A bot is the thing the player keeps. They print it, place Star Slots on its stars, research the mods its constellation declares there and choose which of them it installs, assign the threads that pilot it, choose its specialization, and send it to a station. It carries their colors and their investment.

The bot itself decides nothing. Decisions live in the threads walking its constellation and the mods installed at its stars; change those to change how it acts. The bot answers a narrower question: what being this body is worth. Its stamina, what damage does to it, where it stands in the turn order, how many forms it can hold — the physics the threads play through. The same body plays arena combat or works the shop without knowing which: decisions above, physics below, the station in between.

A bot has a Combat spec and a Shop spec, one per station, sharing each star’s slots (star-slots). What the player configures at a star shows in its tray — the slots placed there, the mods installed in them, and the rest the star declares:

giona, stomper's first star

The chassis. Stamina is a declared tuning lever (OVL-007, balance-lab §2): its kind and bounds are declared once in code, and each bot values it in its own stats: block. The parameter registry lists every bot’s chassis, and a bots: overlay entry builds one on a different number without editing data. Every specialization magnitude rides the same precedent, keyed by the chassis and the option together.

Specialization. A specialization is the chassis choosing a direction. Each starter chassis offers two options, mini one; a printed bot holds at most one, set, swapped or cleared in the stable, and frozen like its kit while it works a station. An option carries an inherent max-stamina boost and one passive ability in that chassis’s line — a plate that takes a point off every incoming instance, first place in the turn order, a pip more for the Power Station’s hand on every fire. The chassis declares its options in its own YAML and the printed bot saves its choice by name, so two owners can field the same kind of bot configured differently, and an opponent can wear an upgrade the player can wear themselves. The player’s seven arrive together through a story scene; the story is the only grantor, and nothing spends them back. Full treatment: bot specializations.

State. Bot is a thin wrapper over a BotState that holds every durable fact and no game logic. A bot saves as a SavedBot (state/saved.py): its BotState plus the concealed hits, the strikes it took and the guard it consumed. The specialization rides the state as a name, and what that name is worth comes back at load, through build_bot (bot/build.py), from the bot’s chassis record, the one place that knows. Public accessors hand out copies, or the immutable value itself where the state is already frozen, so nothing outside can mutate it by accident. Identity is a unique, immutable serial — bots hash by it, damage is attributed by it, and every action a bot requests leaves stamped with it. A bot also has two sides: owner is who printed it, stamped once; allegiance is the side it fights on this instant.

The two doors. The world enters a bot through exactly two calls. combat_start() runs once when it steps into an encounter: threads spin up and per-mod preparation runs, while the arena clears the damage history it keeps on the body. Each of its turns then plays one thread turn per thread, each through its station’s two calls: the station plans the thread’s options on a copy of its board, then carries out the chosen action and reports what it damaged. The bot never resolves outcomes — it chooses, the station acts. That split is what keeps bots portable across stations.

Buffs. A bot wears its buffs as status plates along the top of its token, benefits from the left corner and debuffs from the right, and its held stance about it; buffs owns the rules.

The buff ledger, on the token
  1. stress — its plate, the pile as its depth digit
  2. stress, armed — the outer debuff slot, its rim blinking
  3. guard — its charges as the digit, its rim lit while active, consumed lit in danger
  4. embolden + vulnerable — a plate a side
  5. five debuffs — one plate, then the plus plate counting the rest
  6. bloom on its last turn — drawn at half
  7. seized — the captor side’s disc, and its overhead loop
  8. rooted — the shackle, and its overhead loop
  9. cloaked — the ghost
  10. taunted — the beacon
  11. remorse — a stance aura, for each time it is targeted
  12. tremor beside a guard plate — for each time it opens its turn

A buff carries each bot whose landing laid a share of it, and a timed one counts down as its holder’s turns close, whoever laid it (BFF-029). A held stance stands apart from the buffs: a bot takes it for itself by firing its mod, holds one at a time, and keeps it through the loop and suppression alike. Within a level it ends only when another replaces it, its own until consumes it, or its holder is downed (stances). No combat state leaves the level — a body carried out of a fight or a shop stint drops every buff the station raised and its held stance, and it is no longer planted, so the next level opens from what the player put on the body and nothing else. A kit edit between levels is not a bell and takes nothing. Cleansing helps the afflicted but never lifts lockdowns: stun, sleep and a seizure must be served. Every loss of stamina is remembered against its source, whatever its side, until the bot’s next turn, and

🔥 Revenge
Power Black Pink

Returns damage dealt to this bot since its last turn by the heaviest source. REBAR returns all damage from all sources.

returns it.

The stable. The stable is the ownership boundary. Bots live in fixed-size slot rosters; each has an owner and one supply bin its bots share. The stable stamps its owner on every bot it prints, whatever the chassis’s catalog entry declares, so any chassis the player prints is theirs. Owner is stamped once; allegiance, the side a bot fights on, can change in combat. A bot’s build is editable except while it works a station: the arena’s fighter, and the shop’s worker while a level runs. A checked-out bot holds exactly one assignment. Printing a bot costs a slot and nothing more. The bot activates when its first awakened thread is assigned to pilot it, and a bot with no pilot cannot act or check out. Firing an idle bot rests its threads and frees the slot — tokens move only when threads awaken or relock, so the roster is a reversible investment. Player bots print with only their player’s researched mods and awakened threads, so a player can never field what they haven’t earned; NPCs print with every mod and thread.

Fiction. A bot speaks. It is a character the player owns and talks with, so story scenes address it directly and it answers. A single thread speaks only where a scene deliberately casts it as one — the writer’s guide (adminui/story/README.md) carries the rule.

Derived specs — engine/bbsb_engine/test/bot/bot_spec.yaml · BOT bot-identity · BEV evaluation-lifecycle · BFF buff-families-and-damage-memory · SPC specialization · STB stable · SPL supply-bin (folded here, no separate file). Save/load of the underlying BotState: state/state_spec.yaml SV, CP.

Terms

TermMeaning
chassisA bot’s body as its bot file declares it — its stamina and its specializations — apart from the thread that flies it.