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>
20 lines
354 B
TOML
20 lines
354 B
TOML
[package]
|
|
name = "phalanx-bot"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
axum = "0.8"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
tokio = { version = "1", features = ["full"] }
|
|
hmac = "0.12"
|
|
sha2 = "0.10"
|
|
hex = "0.4"
|
|
tracing = "0.1"
|
|
tracing-subscriber = "0.3"
|
|
|
|
[profile.release]
|
|
strip = true
|
|
opt-level = "z"
|
|
lto = true
|