From 44a1f5ab9469dda5541a3dcbb9fbda2af5627682 Mon Sep 17 00:00:00 2001 From: jedarden Date: Mon, 25 May 2026 11:52:41 -0400 Subject: [PATCH] =?UTF-8?q?fix(engine):=20correct=20DefaultConfig()=20zone?= =?UTF-8?q?=20parameters=20per=20plan=20=C2=A73.7.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - ZoneStartTurn: 20 → 10 (plan specifies 10 for both 2-player and 3+) - ZoneShrinkInterval: 2 → 1 (plan specifies 1 for both 2-player and 3+) The DefaultConfig() is used by cmd/acb-wasm and many tests. The previous values were incorrect per plan §3.7.1, which could affect WASM builds and test correctness. Closes: bf-jtjg Co-Authored-By: Claude Opus 4.7 --- engine/types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/types.go b/engine/types.go index a91716a..bb2edd5 100644 --- a/engine/types.go +++ b/engine/types.go @@ -191,8 +191,8 @@ func DefaultConfig() Config { EnergyInterval: 10, CoresPerPlayer: 2, ZoneEnabled: true, - ZoneStartTurn: 20, // 2-player default per plan §3.7.1 - ZoneShrinkInterval: 2, // Shrink every 2 turns per plan §3.7.1 + ZoneStartTurn: 10, // Per plan §3.7.1 (both 2-player and 3+) + ZoneShrinkInterval: 1, // Per plan §3.7.1 (both 2-player and 3+) ZoneShrinkStep: 2, ZoneMinRadius: 3, }