This is an ant colony simulation, it internally uses kdtree and query caching, it's able to handle about 5k ants on the cpu.
Built with Rust and Bevy game engine
Here's the entire timelapse of the AI learning to drive
git clone [email protected]:bones-ai/rust-ants-colony-simulation.git
cd rust-ants-colony-simulation
cargo run --release
src/configs.rs
ANT_INITIAL_PH_STRENGTH
in the configs to a greater value (exmaple: 40.0
)