AntSim

AntSim demonstrates pheromone trail emergence and swarm behavior through evolutionary genetics. Ants lay exploratory and return-trail pheromones, reinforcing successful paths through natural selection. The simulation shows how individual agent behaviors create colony-level intelligence without centralized control.

[GAMEPLAY GIF/Screenshots to be added]

Key Features

  • 5-gene evolutionary system: sensitivity, speed, boldness, lifespan, energy_efficiency
  • Pheromone trails: Exploratory and return-trail markers with decay
  • Queen mortality: Autonomous royal jelly raising for colony continuity
  • Split-view rendering: Overhead foraging + ant hill cross-section

GitHub: AntSim


Built with Python and pygame-ce. Evolutionary genetics and ACO principles.