ai-code-battle/engine
jedarden 31fec6c412 fix(engine): reduce 2-player spawn radius from 30% to 15% for combat density target
Reduced 2-player spawn radius from 30% (~6 tiles from center, ~12 tiles apart)
to 15% (~3 tiles from center, ~6 tiles apart) to achieve the 65-80% combat
density target per plan §3.7.1.

Testing results with 15% spawn radius (20 matches, gatherer vs rusher):
- Combat density: 80% (16/20 matches had combat_deaths)
- Average turns: 16 (reasonable match length)
- Draws: 35% (manageable)

Previous 30% spawn radius only achieved 60% combat density. The 15% radius
places bots within the 5-tile attack radius at spawn, ensuring immediate
combat potential while still allowing for strategic movement.

Closes: bf-4dnn3
2026-05-26 22:44:24 -04:00
..
auth.go
auth_test.go
bot_http.go
bot_http_test.go
bot_local.go fix(engine): add wall awareness to zone escape direction 2026-05-26 19:46:39 -04:00
bot_strategies.go fix(engine): add wall awareness to zone escape direction 2026-05-26 19:46:39 -04:00
bot_strategies_phase13.go fix(engine): add wall awareness to zone escape direction 2026-05-26 19:46:39 -04:00
determinism_test.go
game.go feat(engine): add zone bounds to VisibleState for bot awareness 2026-05-26 01:52:30 -04:00
grid.go
grid_test.go
integration_test.go fix(engine): resolve race condition in TestIntegration_CenterWeightedEnergy 2026-05-25 20:37:57 -04:00
map_engagement.go
map_engagement_test.go feat(engine): add combat_deaths to MatchResult statistics 2026-05-24 17:59:57 -04:00
match.go fix(engine): reduce 2-player spawn radius from 30% to 15% for combat density target 2026-05-26 22:44:24 -04:00
match_test.go fix(engine): reduce 2-player spawn radius from 25% to 20% for combat density 2026-05-25 19:42:08 -04:00
replay.go fix(replay): ensure events array is always populated in turns 2026-05-26 21:12:12 -04:00
thumbnail.go
turn.go fix(engine): increase spawn radius to prevent immediate mutual destruction 2026-05-26 19:17:31 -04:00
turn_test.go
types.go docs(plan): update ZoneShrinkStep from 2 to 1 to match implementation 2026-05-26 08:22:27 -04:00
wasm.go feat(wasm): implement SwarmBot AssemblyScript WASM with full strategy per plan §11.2 2026-05-25 17:45:46 -04:00
winprob.go