Goodoids (Blue Boids) seek to eat food (green dots).

Badoids (Red Boids) seek to kill Goodoids.

Goodoids evolve with a genetic algoritm achieving better fitness through the generations.