ai-code-battle/bots/phalanx
jedarden ed4be7a4d3 feat(bot): add Phalanx bot (Rust) — tight formation archetype
Formation-based combat bot that moves all units as a coordinated group:
- Circular mean centroid computation (toroidal-aware)
- Hexagonal packing formation slots with greedy slot assignment
- Rally mode when mean distance from centroid exceeds 3 cells
- Scored movement: formation cohesion + advance toward enemy concentration
- Attack range bonus when engaging enemies in formation
- Self-collision avoidance via claimed destination tracking
- 10 unit tests covering all core algorithms

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-22 16:43:39 -04:00
..
src feat(bot): add Phalanx bot (Rust) — tight formation archetype 2026-04-22 16:43:39 -04:00
.gitignore feat(bot): add Phalanx bot (Rust) — tight formation archetype 2026-04-22 16:43:39 -04:00
Cargo.lock feat(bot): add Phalanx bot (Rust) — tight formation archetype 2026-04-22 16:43:39 -04:00
Cargo.toml feat(bot): add Phalanx bot (Rust) — tight formation archetype 2026-04-22 16:43:39 -04:00
Dockerfile feat(bot): add Phalanx bot (Rust) — tight formation archetype 2026-04-22 16:43:39 -04:00