You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1eb5bad
Browse filesBrowse the repository at this point in the historyBrowse files
House bot "formics": the Formics, the hardest house bot
A hive mind built from the season's replays. The strongest student bots
(OrionBot, Mistro, kaden-distributed, Simper) win by out-digging: 100+
workers, several Command Centers, towers. The Formics play that game
tighter: a drop-off two tiles from every grub field (dig, bank, dig; no
walking), Command Centers on the free corners (mirror symmetry tells where
every corner's grubs are), a worker scout for the fields in between,
Entomology first, towers by every base, and an army sized from the public
scoreboard (survival and income say roughly how big an enemy army is).
It fights with soldiers only (equal grubs of soldiers beat every mix in
tests) and shares its blows out so none is wasted on a unit already dead.
Against stand-ins for the top bots it wins 8/8 each against rush,
scout-rush, kaden-, Ethan-, Flaud- and Mistro-style plans and every house
bot, 23/24 against OrionBot- and Simper-style macro, and most 3- and
6-player free-for-alls; about 0.5 ms a tick.
Full House keeps asking for the original five house bots.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V8fdNFMnkyDNTFoKqQyD6L
-`src/NetRts.Server` — ASP.NET Core minimal APIs; `Matches/MatchHost` wraps one simulation behind a lock.
45
-
-`src/NetRts.Bots` — `NetRtsClient`, `BotLoop`, `PlanBot` + house bot plans, and `Blocks/` (Block Bot: rule programs the server plays for a player). Both server-played bots stand on `BotView` (one tick's queries), `BotMemory` (what a bot keeps between ticks), `BotTurn` (one tick's budget, reserved units and commands; `TryTrain`/`TryBuild`/`TryResearch`/`Order` return an `Attempt`). `BotCharacterizationTests` hash every command the house bots and Block Bot send: a refactor must leave the hashes alone.
45
+
-`src/NetRts.Bots` — `NetRtsClient`, `BotLoop`, `PlanBot` + house bot plans, `Formics/` (the hardest house bot, its own code; `FormicsTuning` holds its numbers), and `Blocks/` (Block Bot: rule programs the server plays for a player). Both server-played bots stand on `BotView` (one tick's queries), `BotMemory` (what a bot keeps between ticks), `BotTurn` (one tick's budget, reserved units and commands; `TryTrain`/`TryBuild`/`TryResearch`/`Order` return an `Attempt`). `BotCharacterizationTests` hash every command the house bots and Block Bot send: a refactor must leave the hashes alone.
46
46
-`docs/bot-guide.md` is the player-facing rules/API doc — keep it in sync with `GameRules` and the endpoints. `docs/requirements-coverage.md` maps the spec to code.
47
47
-`src/NetRts.Server/Achievements` — the 77 achievements (`AchievementCatalog`; ids are stored, never change one) and their evaluation; `Recaps` — nightly ladder snapshots and the recap brief.
48
48
-`recap/` — the nightly recap video job (Node: Azure OpenAI gpt-5.5 + Azure Speech in Foundry, Playwright + ffmpeg); `deploy/recap/setup.sh` + `main.bicep` create its Azure resources.
|**Grub Hoarder**|`economist`| Out-digs everyone, hides behind bell towers, arrives late with an enormous clan. |
159
+
|**The Formics**|`formics`| A hive mind. Digs every corner of the map with a hundred workers, then swarms you with upgraded soldiers that all hit the same target. The final boss. |
159
160
160
-
Beat the Sleepy Sitter and the Poky Badger in your first hour. Beating the Grub Hoarder takes a real plan.
161
+
Beat the Sleepy Sitter and the Poky Badger in your first hour. Beating the Grub Hoarder takes a real plan. Beating the Formics takes the best bot in the class.
Copy file name to clipboardExpand all lines: docs/bot-guide.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ own campus building and its own student housing.
45
45
| Intro to Biology → Entomology |`Harvesting1` → `Harvesting2`| More grubs per dig (know your insects) |
46
46
| Intro to Construction → Structural Engineering |`Fortify1` → `Fortify2`| Sturdier buildings |
47
47
| Welding Technology |`SiegeEngineering`| Unlocks the Washburn Welding Shop |
48
-
| Sleepy Sitter, Poky Badger, Honey Badger, Blue Badger, Grub Hoarder|`sitter`, `poky`, `rusher`, `balanced`, `economist`| House badgers |
48
+
| Sleepy Sitter, Poky Badger, Honey Badger, Blue Badger, Grub Hoarder, The Formics |`sitter`, `poky`, `rusher`, `balanced`, `economist`, `formics`| House badgers (the Formics are the bugs)|
49
49
50
50
## The loop
51
51
@@ -114,7 +114,7 @@ away, practice and preseason games in an hourly roundup. To practise privately,
114
114
|`GET /api/v1/matches/{id}/replay`| Seed + every executed command — enough to re-simulate the match exactly. |
115
115
|`GET /api/v1/matches/{id}/frames`| A finished match, tick by tick, as spectators saw it: the map, the whole play-by-play (`events`), and `chunkCount` chunks of `chunkTicks` (100) ticks. This is what the website's replay viewer plays. |
116
116
|`GET /api/v1/matches/{id}/frames/{n}`| Chunk `n`: one spectator state per line (newline-delimited JSON) for ticks `n × chunkTicks` onward. Sent Brotli-compressed when your client accepts `br`. |
117
-
|`GET /api/v1/bots`| House bots: `rusher`, `economist`, `balanced`, `sitter`, `poky`. |
117
+
|`GET /api/v1/bots`| House bots: `rusher`, `economist`, `balanced`, `sitter`, `poky`, `formics` (the hardest). |
118
118
|`GET /api/v1/leaderboard?category=Season`| One category's ladder: `Practice` (the default, by Elo rating; only player-vs-player 1v1s change it, while games against house bots count toward your win/loss record), `Preseason`, `Season` or `Championship` (by points, then skill). Every row also has `skill` (and the raw `mu`/`sigma`), see below. Add `&season=2026-27` for a past season. |
119
119
|`GET /api/v1/players/me`| Your profile. `rating`/`wins`/`losses`/`draws` are your practice record; `records` has every category (rating, points, `skill`, record), and `verified`/`ownerName` your blue check. |
120
120
|`GET /api/v1/achievements`, `GET /api/v1/players/{id}/achievements`| Every achievement (how many bots have each, and who), and the ones a bot has earned. See [Achievements](#achievements). |
0 commit comments