/Artificial-Life

Boids simulation

Primary LanguageC++

Program based on Boids by Craig Reynolds.
Creates 300 boids and 1 predator. The boids flock together using separation, alignment, and cohesion and will flee if they can see the predator. The predator will try to catch the boids.
Boids have random values for their speed, field of view, and flee distance. The ones with better values will survive longer.
Download here: https://github.com/JackDobie/Artificial-Life/releases