From 5aeecd2912961afc924af302c175157e574a74d1 Mon Sep 17 00:00:00 2001 From: jedarden Date: Tue, 26 May 2026 03:10:22 -0400 Subject: [PATCH] =?UTF-8?q?fix(engine):=20correct=202-player=20core=20spaw?= =?UTF-8?q?n=20radius=20to=2025%=20per=20plan=20=C2=A73.7.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously used 20% radius (4 tiles from center, 8 tiles apart), which placed cores within attack radius (5 tiles), causing immediate mutual destruction on turn 2. Now uses 25% radius (10 tiles from center, 20 tiles apart), matching plan §3.7.1 and acb-mapgen behavior. Impact: 2-player matches now last 4+ turns before combat, giving bots time to move and position instead of dying immediately. Closes: bf-48nb Co-Authored-By: Claude Opus 4.7 --- engine/match.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/match.go b/engine/match.go index 3397f5d..f63dcef 100644 --- a/engine/match.go +++ b/engine/match.go @@ -364,7 +364,7 @@ func (mr *MatchRunner) generateMap(gs *GameState, numPlayers int) { var primaryRadius, secondaryRadius float64 if numPlayers == 2 { - primaryRadius = 0.20 // ~4 tiles from center on 40x40 grid (~8 tiles apart) + primaryRadius = 0.25 // ~10 tiles from center on 40x40 grid (~20 tiles apart) per plan §3.7.1 secondaryRadius = 0.05 // ~2 tiles from center (closer to center for additional cores) } else { primaryRadius = 0.10 // ~5 tiles from center on 50x50 grid