ai-code-battle/cmd
jedarden 5b6f7267f9 feat(engine): bias energy placement toward map center for combat density
Implement center-weighted energy distribution as a forcing function
to pull players into contested midfield, increasing combat density.

Changes:
- engine/match.go: Update placeEnergyNodes to use tiered radius
  distribution (30% central 0.05-0.20, 40% mid 0.20-0.40, 30% outer
  0.40-0.60) instead of uniform 0.3-0.7
- engine/integration_test.go: Add TestIntegration_CenterWeightedEnergy
  to verify ~25% of energy nodes spawn in central zone
- cmd/acb-mapgen: Already had tiered distribution (unchanged, just
  comments updated)
- cmd/acb-mapgen/mapgen_test.go: Add TestGenerateMap_CenterWeightedEnergy

This uses the existing economic incentive (energy collection) as a
forcing function without changing combat resolution or scoring.

Closes: bf-648i

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 10:30:52 -04:00
..
acb-api feat(api): implement POST /api/request-enrichment endpoint 2026-05-04 02:58:11 -04:00
acb-enrichment feat(acb-enrichment): implement AI replay enrichment service 2026-05-04 02:22:28 -04:00
acb-evolver Evolver: Fix nsjail integration for complete sandbox coverage 2026-05-22 15:18:21 -04:00
acb-index-builder Bug fix bf-3mx7: Fix match index winner badge - use p.Won instead of comparing BotID with WinnerID 2026-05-13 17:59:02 -04:00
acb-local feat(evolver): complete Phase 7 LLM-driven evolution implementation 2026-04-08 16:38:48 -04:00
acb-map-evolver feat(engine): reduce default map size to 40x40 and add skirmish map class 2026-05-24 10:10:57 -04:00
acb-mapgen feat(engine): bias energy placement toward map center for combat density 2026-05-24 10:30:52 -04:00
acb-matchmaker feat(engine): reduce default map size to 40x40 and add skirmish map class 2026-05-24 10:10:57 -04:00
acb-wasm feat(playlists): add playlist curation and rebuild logic per §10, with series/seasons/enrichment 2026-04-21 16:11:27 -04:00
acb-worker feat(engine): add combat-density metric and fix computeCombatTurns 2026-05-24 10:16:54 -04:00