fix(engine): align AttackRadius2 with plan §3.4 for 2-player matches

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 <noreply@anthropic.com>
This commit is contained in:
jedarden 2026-05-24 21:31:42 -04:00
parent cf7c64b7bb
commit d92fe2adf2

View file

@ -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