| 001 Create matches with unique ids |
POST /api/v1/matches, POST /api/v1/exhibitions. Δ 2–4 players, not only 2. |
| 002 Grid map |
MapGenerator. Δ default 64×64 (configurable 32–128) — 100×100 made games slow to develop for. |
| 003 Balanced starts |
Four-way mirror-symmetric maps; tested in Map_is_mirror_symmetric_so_every_start_is_fair. |
| 004 Initial resources |
500 ore, 5 workers, a Command Center. |
| 005 Ticks at an interval |
MatchHost tick loop; interval per match (100 ms–10 s, default 1 s). |
| 006 Status and duration |
MatchStatus, tick, outcome.ticks. |
| 007–015 Game state |
GET …/state → GameStateDto: own units/buildings (hp, status, construction %, production queues), resources, visibility grid, visible enemies and deposits, tick. |
| 016–022 Unit commands |
Move, Attack (target or attack-move), Gather, Stop; selectors "5-10", "all", "idle", unitIds, unitType; batches of up to 100. |
| 023–028 Persistent FIFO queue |
500-command queue per player, 100 executed per tick, remainder carried over; QUEUE_FULL. Tested in Queue_is_capped_and_drained_a_fixed_number_of_commands_per_tick. |
| 029 Latest command wins |
Orders overwrite; tested. |
| 030 Queue size in state |
you.queuedCommands, you.queueCapacity. |
| 031–036 Construction |
Build: workers walk to the site, cost paid when ground breaks, progress = worker-ticks, constructionPercent. Site validation (bounds, rock, buildings, deposits, enemy units, prerequisites, ore). |
| 037–042 Production |
Produce with count; queue of 5 per building; spawns adjacent. Δ cost is paid when queued rather than when the item reaches the front, so a rejection is immediate. |
| 043 Unit types |
Worker, Soldier, Scout, plus Archer (ranged) and Trebuchet (siege: minimum range, delayed shells that hit a tile). |
| 044 Building types |
Command Center, Barracks, Resource Depot (drop-off + storage), plus TechLab (research), Guard Tower (defense) and Siege Workshop (trebuchets; needs the SiegeEngineering upgrade). |
| 045–046 Distinct stats |
GameRules; published at GET /api/v1/rules. |
| 047–051 Combat |
Range checks, armor, simultaneous resolution, removal at 0 hp, freed tiles. |
| 052–055 Resources |
Finite deposits, continuous mine-and-haul, storage capacity, no negative balances. |
| 056–060 Upgrades |
Weapons, Armor, Mobility, Harvesting — two tiers each, tier 2 requires tier 1; apply to current and future units. Plus SiegeEngineering, which unlocks the Siege Workshop. |
| 061 Score |
Destruction, economy, survival; live in every state response. |
| 062 Elimination |
Losing your last Command Center. Δ extra Command Centers can be built, so it's the last one. |
| 063–064 Time limit |
Highest total wins; ties are draws. |
| 065 Results endpoint |
GET …/result (live or archived), plus GET …/replay and the recorded frames (GET …/frames) the website's replay viewer plays. |
| 066–067 Auth and participation |
Per-player API keys (hashed at rest); every game endpoint checks the caller is seated (NOT_A_PARTICIPANT). Beyond the spec: people sign in to the website with Discord to claim bots (blue check, server nickname); Discord server admins, and the league runners they pick on the website (LeagueRunnerPolicy: create, split, start and close, not remove bots or call off), run league matches (preseason, season, championship) that verified bots join like any match and play in rounds of heats started together (bots join each round they want to play, at any time until the match closes, under one name and id; each round is reseated away from earlier neighbors; an admin can end a round early, scored as at its tick limit); those ladders are ranked by points (each bot's whole score in every heat), per season, with each bot's lowest heat of a league match dropped once it plays two or more, added when the admin closes the match (LeagueFinalizer); ties and a second column go to an opponent-aware OpenSkill skill (OpenSkill, SkillBackfill) (AccountTests, LeagueMatchTests, SkillTests). |
| 068 Error codes |
Uniform {code, message} bodies; per-command codes listed in the bot guide. |
| 069 Concurrent matches |
One MatchHost per match; Ten_concurrent_matches_all_progress. |