fix(engine): align 2-player spawn radius with plan comment (15% → 20%)

The match.go comment specified 20% spawn radius for 2-player matches,
but the code used 0.15 (15%). This caused bots to spawn within attack
range and die immediately (100% combat density vs 65-80% target per
plan §3.7.1).

Changed primaryRadius from 0.15 to 0.20 for 2-player matches. Combat
now occurs around turn 4-6 instead of turn 1.

Closes: bf-5sev
This commit is contained in:
jedarden 2026-05-26 09:38:37 -04:00
parent 390ebba52a
commit ff63a7da74

View file

@ -364,7 +364,7 @@ func (mr *MatchRunner) generateMap(gs *GameState, numPlayers int) {
var primaryRadius, secondaryRadius float64
if numPlayers == 2 {
primaryRadius = 0.15 // ~6.8 tiles from center on 40x40 grid (~13.6 tiles apart)
primaryRadius = 0.20 // ~8 tiles from center on 40x40 grid (~16 tiles apart)
secondaryRadius = 0.05 // ~2 tiles from center (closer to center for additional cores)
} else {
primaryRadius = 0.10 // ~5 tiles from center on 50x50 grid