fix(engine): correct DefaultConfig() zone parameters per plan §3.7.1

- 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 <noreply@anthropic.com>
This commit is contained in:
jedarden 2026-05-25 11:52:41 -04:00
parent e1e74bcbdf
commit 44a1f5ab94

View file

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