ai-code-battle/cmd/acb-mapgen
jedarden 0f7d55c5d4 Fix sin/cos math bug and add cellular automata map generation
Replace broken Taylor series sin/cos approximations with math.Sin/math.Cos
in both engine/match.go and cmd/acb-mapgen. The Taylor series produced
incorrect results for angles > π, causing wrong positions in 3+ player maps.

Upgrade map generator wall placement from random scatter to cellular
automata (B5/S4 rule, 4 iterations) with rotational symmetry enforcement
and connectivity validation. Add comprehensive mapgen tests and dominance
win condition tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 01:10:46 -04:00
..
connectivity.go Complete Phase 1: add connectivity validation and determinism tests 2026-03-24 03:44:44 -04:00
main.go Fix sin/cos math bug and add cellular automata map generation 2026-03-26 01:10:46 -04:00
mapgen_test.go Fix sin/cos math bug and add cellular automata map generation 2026-03-26 01:10:46 -04:00