To see the Demo : https://www.youtube.com/watch?v=9_YamV3CggA
A 2D artificial life simulation comparing two distinct genetic algorithms through parallel evolution of competing agent populations. This project explores how different evolutionary strategies perform under identical environmental pressures in a shared survival-oriented world.
Two populations of agents evolve simultaneously using different genetic algorithm implementations:
- GA 1 (Foragers): Traditional survival-focused agents that search for food sources
- GA 2 (Predators): Aggressive agents that can steal food from others or act as predators
Both populations compete in the same 2D environment, allowing direct comparison of algorithmic performance, adaptation rates, and emergent behaviors.
- Dual Evolution System: Parallel genetic algorithms with different survival strategies
- Shared Environment: Common world with food sources, hazards, and resource competition
- Real-time Visualization: 2D rendering of both populations and their evolutionary dynamics
- Comprehensive Metrics: Fitness tracking, survival rates, and behavioral analysis
- Configurable Parameters: Adjustable mutation rates, selection methods, and environmental conditions
Built with modular, reusable code architecture following academic project standards. The system implements proper genetic algorithm fundamentals while exploring the less-studied question of comparative GA performance in shared environments.
This simulation framework enables study of evolutionary computation, algorithm comparison, predator-prey dynamics, and emergent artificial life behaviors. Ideal for exploring how different genetic operators and selection pressures influence population evolution in competitive settings.
Developed as part of an AI course project exploring genetic algorithms, artificial life, and evolutionary computation. Incorporates insights from NEAT, novelty search, and established ALIFE research methodologies.
python = 3.11.5
make start