Skip to content

NotRambi/GeneticEvolution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Genetic Evolution Simulation

This project simulates the genetic evolution of entities over time. The simulation includes features such as reproduction, random mutations, aging, and death. The entities are displayed on a graphical interface using Pygame.

Project Structure

  • EntityDef.py: Defines the entity class, which represents an individual entity in the simulation.
  • Main.py: Contains the main logic for the simulation, including initialization, daily updates, reproduction, and graphical display.

Requirements

  • Python 3.x
  • Pygame

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/genetic-evolution.git
    cd genetic-evolution
  2. Install the required packages:

    pip install pygame

Usage

Run the simulation:

python Main.py

About

A small demo of a genetic evolution simulation, where entities characterized by a DNA segment coexist, mate, and die, creating interesting evolutionary dynamics.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages