ai-code-battle/cmd/acb-mapgen
jedarden a9f7660208 fix(mapgen): align 2-player spawn radius with plan §3.7.1 combat density target
Reduce 2-player spawn radius from 25% to 10% (~2 tiles from center, ~4 tiles apart
on 40x40 grid). This aligns with the dynamic spawn path updated in commit 01967cf
and ensures bots start within the 5-tile attack radius for immediate combat engagement.

Per plan §3.7.1, this achieves the target 65-80% combat density for 2-player matches.
Production matches use pre-generated maps from acb-mapgen, so this change is required
for the combat density fix to take effect in production.

Also update test (TestGenerateMap_CoresOutsideAttackRadius ->
TestGenerateMap_CoresWithinAttackRadius) to reflect the new behavior: cores should
now be within attack radius rather than outside it.

Closes: bf-3waww
2026-05-26 15:05:29 -04:00
..
connectivity.go style: apply gofmt alignment fixes across codebase 2026-05-24 10:40:33 -04:00
main.go fix(mapgen): align 2-player spawn radius with plan §3.7.1 combat density target 2026-05-26 15:05:29 -04:00
mapgen_test.go fix(mapgen): align 2-player spawn radius with plan §3.7.1 combat density target 2026-05-26 15:05:29 -04:00