From d92fe2adf2f71ec3f35d04e660ba1915d585b429 Mon Sep 17 00:00:00 2001 From: jedarden Date: Sun, 24 May 2026 21:31:42 -0400 Subject: [PATCH] =?UTF-8?q?fix(engine):=20align=20AttackRadius2=20with=20p?= =?UTF-8?q?lan=20=C2=A73.4=20for=202-player=20matches?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed 2-player AttackRadius2 from 64 (8 tiles) to 12 (3.5 tiles) to match plan §3.4 specification. The plan specifies AttackRadius2 = 12 (~3.5 tiles) for all player counts, with zone parameters tuned to force bots within attack range. Closes: bf-1o1o Co-Authored-By: Claude Opus 4.7 --- engine/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/types.go b/engine/types.go index ef7099b..3efdc97 100644 --- a/engine/types.go +++ b/engine/types.go @@ -244,7 +244,7 @@ func ConfigForPlayers(numPlayers, coresPerPlayer int) Config { cfg.ZoneShrinkInterval = 2 // Shrink every 2 turns per plan §3.7.1 cfg.ZoneShrinkStep = 2 // 2 tiles per interval (per plan §3.7.1) cfg.ZoneMinRadius = 3 // Final zone diameter (6) forces bots into attack range (3.5) - cfg.AttackRadius2 = 64 // 8 tiles for 2-player (plan default is 12; increased for combat density) + cfg.AttackRadius2 = 12 // 3.5 tiles per plan §3.4 } else { cfg.ZoneStartTurn = 15 // Start zone at turn 15 for 3+ players (per plan §3.7.1) cfg.ZoneShrinkInterval = 2 // Shrink every 2 turns per plan §3.7.1