Game Manual

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

Star Slots — the player chooses what each bot fields, a slot at a time

iterating under active debate — expect movement

A star holds a few mods, and the player decides which. A bot’s constellation declares the mods each of its stars may hold (starter-trees); a slot is a position at a star that holds one of them. The player earns slots, places them on stars, and chooses what goes in each. A star holding no slot is closed, and threads never visit it. This page covers the slots, the two specs that share them, installing, and the tally the engine keeps of what each mod did last level.

Terms

TermMeaning
star nodeOne star as the constellation chart draws it: a fixed 2 × 2 of its slots, filled in reading order. StarNode.
star lightAn open star’s glow: the equal blend of its installed mods’ first power colors, stronger as its slots fill. An open star with nothing installed has none.
chart densityThe size the constellation chart is drawn at: full density in the Stable, with each installed mod as its sprite, or compact density on the bot card.

Slots

A Star Slot is the token that opens a star. Levels and scenes pay it (STAR_SLOT), and it is the only token that opens one. Spending a Star Slot on a star adds one slot to it. A star is open while it holds at least one slot, and the open stars are exactly the stars a thread may visit.

Where a Star Slot may go. A spend is accepted on a closed star that is its constellation’s root or follows an open star, whatever is researched, and on an open star only while the player has researched more of the mods that star declares than it holds slots, arena and shop mods counted apart as capacity counts them (SLT-004). Any other target is refused and spends nothing, and a Star Slot with no accepted target waits unspent. So stars open outward from the root, every open star lies on a thread’s walk, and a slot is added only where a researched mod can fill it. Opening a closed star is never refused by this rule, because a star’s mods can be researched only once it is open (TRL-018). The game names the targets a waiting Star Slot can reach now — the unlockable slots and stars — on the constellations of the bots the player fields, and the Stable makes them pulse.

Capacity. A star’s capacity is the larger of the number of arena mods and the number of shop mods its constellation declares there, at most four. A star that declares nothing has capacity one; opened, its threads fire basics there. Since a slot is added only where a researched mod can fill it, a star’s last slot is offered only once every mod of its larger layer is researched. Each tier 5 stance sits on a star whose arena mods set its capacity, so that star’s last slot waits on the stance as it waits on the star’s other mods:

StarCapacityArena mods
pellonius (stomper)4
💥 Mortar
Power Black Yellow

Bombs any tile. Deals 3 damage to any occupants and adjacent occupants. Destroys rubble in radius, causing 2 extra damage per rubble.

,
🧱 Rubble
Power Black Yellow

Places rubble on an empty tile within 3 tiles. Deals 1 damage to each occupant adjacent to it.

,
🦿 Pin
Power Black

Deals 2 damage to an adjacent target and roots it.

,
🌋 Tremor
Power Black Yellow

Stance: starting a turn with planted adds 1 embolden.

corada (stomper)4
🎯 Provoke
Power Black Pink

Taunts every rival.

,
🌿 Briar Patch
Power Black Pink

Roots each adjacent occupant and adds 1 corrode.

,
⚖️ Counterweight
Power Black

Deals 1 damage to an adjacent target. Deals 2 extra damage per guard consumed since its last turn.

,
🗿 Stonewall
Power Black Pink

Stance: the next rival to target this bot is stunned, regardless of damage.

epsilon-crucis (mini)2
⚱️ Valhalla
Power Black Blue

All summoned allies self-destruct, dealing 3 damage to each adjacent occupant.

,
⛺ Shelter
Power Black Blue

Stance: reduces damage to adjacent allies by 1.

alpha-doradus (slinky)4
❓ Interrogate
Power Pink

Adds 2 stress to a target in sight. SCRAMBLER adds 1 damage per final stress.

,
🪤 Snare
Power Pink Yellow

Roots a target in sight, adding 1 stress. This bot may also move 1.

,
😱 Panic
Power Pink

Adds 1 stress on a target in sight and panics it.

,
👹 Menace
Power Pink

Stance: any rival starting its turn in sight of this bot gains 1 stress.

Slots stay put. A placed slot is never taken back except by a progression reset, which refunds every Star Slot the player placed and withdraws the slots a bot grant placed (LDT-005). Slots belong to the player’s progression, counted per constellation and star, so two constellations that share a star name never share its slots; what fills them belongs to each bot. The min_stars gate counts open stars.

Where they come from. The game starts with no Star Slot. A starter bot’s grant opens the first two stars its constellation declares mods at, one slot each, without spending one (LDT-005). hermit, the shop bot shop-opens recruits, is granted every star of fornax open with one slot each. In the Base Levels, T2 workshop-gnawers pays one beside its mod cores on its first win, and the three gates T7 desk-sweep, T8 desk-wipe and T13 arena-bridge each pay one in their mod cores’ place. The base levels’ checkpoints place them on the starter’s tree in that order: T2’s is the first star’s second slot, T7’s the second star’s second slot, T8’s the first star’s third slot, and T13’s opens the third star. No scene steers them: the player finds the Stable’s slots unaided. Three qualifier venues each pay one beside their mod core on their first win; pit-ring declares itself a gate and pays one in its mod core’s place; the Sixteen’s Round of 16 pays one beside its round’s mod cores. The level files hold the schedule, and level select previews each reward (progression-economy § What a win pays).

Specs

Each bot has a Combat spec and a Shop spec. They are its arena and shop layers, and the station a bot works selects which one plays (LYR-001). The two share each star’s slots but fill them on their own: a star holding three slots holds up to three arena mods and, separately, up to three shop mods.

giona, two slots placed and a Star Slot waiting The researched mods fill the slots in design order; Riposte waits in Installable Mods, and the next slot pulses.

What a star offers. A star offers only the mods its constellation declares there, and the engine refuses any other. A researched mod is installable; the rest are Locked until research reaches them.

Installing

One command sets one star’s spec. The player names the bot, the station, the star and the mods to hold there, and the command replaces that star’s layer for that station whole. It is refused, changing nothing, when the star is not open, when it names more mods than the star holds slots, a mod twice, a mod the star does not declare, a mod the player has not researched, or a mod of the other station. It is refused while the bot works a station, and under a hold like every command (occasions).

Any installed mod can be removed, the starter included. Either spec may be emptied. An open star with nothing installed still fires basics, so a bot with an empty Combat spec is valid and fights with the arena’s basics alone.

Research fills empty slots, and nothing else. Auto-fill installs a researched mod its star declares only into an empty slot of that mod’s layer, and never moves or replaces an installed mod. A newly researched mod with no empty slot waits uninstalled, in Installable Mods, marked New. Spending a Star Slot fills the new slot in each layer, on every stabled bot wearing that constellation, with the first mod in design order that the star declares for that layer, the player has researched and the bot does not hold. A bot working a station is skipped and filled in when its level ends. Every change to a spec, by the player or by auto-fill, is logged as SPEC_SET.

A mod only adds options. For one thread on a standing board, installing a further mod at an open star never lowers the best plan the thread can choose: the plans it could choose before are all still there. Whether the new mod is worth its slot is a matter of balance, not a rule.

The tally

The engine counts what each mod did last level. During a level each player bot counts, for every mod it holds, the times its threads fire that mod and the pips those fires produce, by color through the Power Station’s purity rule (power-station), the chassis’s charge bonus included, exactly as the station prices a fire. Basics and passes are not counted, and a fire at the shop produces no pips. A level’s end makes that level’s counts every stabled bot’s tally, replacing the one before, so a bot that sat the level out holds its mods at zero; the tally rides the save and the snapshot.

Counted from the fires, never the deposit. The deposit stays blind to where a pip came from; the tally is kept beside it, so nothing downstream of the deposit learns a pip’s source. No screen reads the tally yet.

The Stable

The Stable configures one bot, the shown bot, in the center of the stage (landscape-stage § 8). Its row in the left column opens it, and while it is open the row grows a strip of three views: the arena’s 🗡️ for Combat mods, the shop’s 🛒 for Shop mods, and the bot’s own face for Chassis. The Shop mods view appears when the shop building opens. The New dot marks 🗡️ while a researched combat mod waits uninstalled. The Stable can open on any bot, star and view.

The bar names the bot in its color, its serial and the open view, with its hull as shields and its specialization under them. At its right edge the count of Star Slots waiting shows while at least one waits.

The star chart is the bot’s whole constellation, 184 by 308 stage pixels, drawn as the constellation chart at full density: each star is a star node, a fixed 2 × 2 of its slots in reading order, with its name beside it. It draws the open view’s layer. An open star’s installed mods are their sprites over a wash of their first power color, and its other slots are Empty, Unlockable or Locked; its star light is the blend of its mods’ power colors, and an edge between two lit stars carries both lights. A closed star a waiting Star Slot can open draws its hatched quadrants under a pulsing gold dash, with the gold padlock; any other closed star is its dim mark. Each star’s control is a 44-pixel button centered on its node. A tap on a closed star a Star Slot can open spends the Star Slot there; a tap on any other star selects it, and the selected star wears four corner brackets with its name in gold. The chart only reads: the tray does every edit.

The star tray sits beside the chart: the selected star’s name in gold, its slot row to capacity, and INSTALLABLE, one row per mod the star declares for the open view, in design order. A star declaring nothing for the view shows its slot row and no list. The Stable opens on the star it is asked for, open or closed; else on the open star whose next slot a waiting Star Slot can buy when no closed star can take it; else on the star where a researched mod of the open view waits uninstalled, seen or not, an open star before a closed one; else on the root star. A closed star’s tray shows its Locked slots and its mods with no action: they wait until a Star Slot opens it.

dalim's Shop mods hermit's stars declare only shop mods.

The Unlockable cell is where the tray buys an open star’s next slot, so it is drawn as an action rather than a lock: the primary action’s gold border and glow, the Star Slot’s ⭐ with a +, pulsing. A tap spends the Star Slot and the cell becomes Empty.

UNLOCKABLE fills the right column while a Star Slot waits that the shown bot’s constellation can take: one row per star the Star Slot can buy, in the constellation’s order, each naming what the spend buys — the star’s next slot, or opening the star — with the shown star’s row lit. A row’s tap shows its star in the chart and the tray, and UNLOCK at the column’s foot spends the Star Slot on the shown star. With more than one bot stabled, their faces head the column, and a face shows that bot. Once nothing is left to spend, the column holds the stable’s bots and an action to the next surface with something waiting, else to the Arena, where START is.

A mod row holds the mod’s cell, its name and an i square. Equipping is the Stable’s work, so the name is the row’s primary target, marked by its action’s glyph: + installs into the first empty slot, − removes, ⇄ selects the mod for a swap when no slot is empty. The i square is the secondary target: it opens the mod in Research, where its description and the way to research it live. A held hover or a long press on the row opens the peek with its description in place.

Chassis is two trays. Threads: the threads piloting the bot and one open slot, over AWAKENED, a row per awakened thread — gold with − while it pilots this bot, plain with + while it rests, hatched and naming the bot it pilots otherwise, since a thread pilots one bot at a time. Specialization, once the story grants one: one slot over OPTIONS, a row per option the chassis offers with what it is worth and what it does; an option not yet granted is hatched, a granted one carries + while the slot is empty, the equipped one −, and the others ⇄.

New. The client records, per game, the mods the player has seen in a tray, in browser storage as a convenience; the engine keeps no such record. A researched mod not yet seen wears the New dot, and opening its star’s tray marks it seen. The first time a client sees a game, every mod already researched counts as seen.

During a level the Stable opens from the player’s bot’s turn-order icon, read-only: no row actions, nothing pulses, and Unlockable draws as Locked. The view icons and Recall stand in its bar; selecting a star and switching views still work, so the player can read every star mid-level, and Close returns to the board. A build is frozen only while its bot works a station, so between levels every bot takes every edit, the worker posted to the shop included.

No help text. No surface carries help text, and nothing teaches the Stable: swapping a mod, spending a Star Slot and the Shop mods section are the player’s to find.

States

States are borders. One treatment per state, and no text on a surface repeats what a border says. This is the Stable’s set, the stage’s whole vocabulary being landscape-stage § 4; a new state is added there before it is built.

statewheretreatment
InstalledINSTALLABLE, AWAKENED, OPTIONS, Known Glitchesgold border (--ceremony); in a slot row the cell’s presence says it
Researcheda research nodethe mod’s first power color
AvailableINSTALLABLE, Known Glitchesthe plain border
NewINSTALLABLE, the Stable row and its 🗡️a gold dot on the corner until the tray is opened
Emptyslot rows, chart slotsa dashed outline on no ground
Lockedslot rows, chart slots, stars, INSTALLABLE, OPTIONSthe diagonal hatch, a dashed border and a drawn padlock; “Locked” is the accessible name only
Unlockablewhile a Star Slot waits: the next slot of each open star holding fewer slots than the player has researched mods it declares, and each closed star that is a root or follows an open staron the chart, Locked under a pulsing gold dash, and a closed star’s padlock in gold; in the tray, the Unlockable cell, drawn as the primary action
Selectedthe chosen star; a row waiting to swapon the chart, four corner brackets around the star’s node and its name in gold; a selected row wears the halo and adds a 3-pixel bar on its leading edge
Litthe open view of the Stable row’s stripa raised ground and a 3-pixel gold underline

The padlock is drawn, because 🔒 is the maglock glitch’s symbol.

Taps.

  • The tray’s Unlockable cell, or a closed unlockable star on the chart, spends a Star Slot.
  • A tap on an available mod’s name, marked +, installs it into the first empty slot. With no empty slot the tap, marked ⇄, selects it, and tapping a filled cell in the slot row swaps the two; selecting another mod selects that one instead, and tapping the selected mod again, or anywhere off a control, clears the selection.
  • A tap on an installed mod’s name, marked −, or on its cell in the slot row, removes it, the last one of a layer included.
  • A mod’s i square opens it in Research, a Locked mod’s included.
  • A Locked mod takes no other tap, and a Locked slot is inert.
  • The Power Station’s hand works the same way with glitches (power-station § On screen). Hand slots come from the story, so the hand never shows Unlockable.

Where research lands

Research names the destination. Each research node a stabled bot’s constellation declares carries a chip reading chassis › constellation › star, and whether the bot has an empty slot there in that mod’s layer: a solid chip when the mod will install, dashed when it will wait in INSTALLABLE. A constellation can be walked by any thread, so the chip names the chassis, not the pilot. The card marks a shop mod with 🛒.

Still open

  • Assumed: a player fields at most one bot of each chassis, so a constellation’s slots serve one bot, and a node’s chassis names one bot.
  • Future: the threads on the star chart, showing how each walks the constellation away from the arena display. Only the bot card draws them.
  • Future: star light swelling as a mod is installed.
  • Future: moving a placed slot to another star.
  • Future: stars declaring more than four mods, which would make the choice at a full star permanent. Today a fully grown star holds everything it declares.
  • Future: a stats screen reading the tally.

Derived specs — engine/bbsb_engine/test/progression/progression_spec.yaml · SLT star-slots, and RWC-029 in research-frontier. engine/bbsb_engine/test/bot/bot_spec.yaml · EQP star-specs · TLY level-tally. The declarations and the refusal they back are engine/bbsb_engine/test/trees/trees_spec.yaml (TRL); the layers are LYR in the same bot spec file.