ai-code-battle/engine
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
..
auth.go Complete Phase 2: HTTP protocol and 6 strategy bots 2026-03-24 07:00:38 -04:00
auth_test.go Complete Phase 2: HTTP protocol and 6 strategy bots 2026-03-24 07:00:38 -04:00
bot_http.go Complete Phase 2: HTTP protocol and 6 strategy bots 2026-03-24 07:00:38 -04:00
bot_http_test.go Complete Phase 2: HTTP protocol and 6 strategy bots 2026-03-24 07:00:38 -04:00
bot_local.go Implement Phase 1 core engine: grid, combat, fog of war, turn execution 2026-03-24 01:48:27 -04:00
determinism_test.go Complete Phase 1: add connectivity validation and determinism tests 2026-03-24 03:44:44 -04:00
game.go Implement Phase 1 core engine: grid, combat, fog of war, turn execution 2026-03-24 01:48:27 -04:00
grid.go Implement Phase 1 core engine: grid, combat, fog of war, turn execution 2026-03-24 01:48:27 -04:00
grid_test.go Implement Phase 1 core engine: grid, combat, fog of war, turn execution 2026-03-24 01:48:27 -04:00
integration_test.go Complete Phase 2: HTTP protocol and 6 strategy bots 2026-03-24 07:00:38 -04:00
match.go Fix sin/cos math bug and add cellular automata map generation 2026-03-26 01:10:46 -04:00
replay.go Implement Phase 1 core engine: grid, combat, fog of war, turn execution 2026-03-24 01:48:27 -04:00
turn.go Implement Phase 1 core engine: grid, combat, fog of war, turn execution 2026-03-24 01:48:27 -04:00
turn_test.go Fix sin/cos math bug and add cellular automata map generation 2026-03-26 01:10:46 -04:00
types.go Implement Phase 1 core engine: grid, combat, fog of war, turn execution 2026-03-24 01:48:27 -04:00