Skip to content

xsanm/EvolutionSimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EvolutionSimulator

What is EvolutionSimulator?

EvolutionSimulator allows you to simulate a simple population where animals fed, breed with each other and their children inherit their genes.

alt text

How it works?

  • Map is divided into two parts
  • In one day one grass is spawned in each part (randomly choosed fields)
  • Animal decides which way will move
  • Animal without energy die
  • If animals share field with grass - the strongest animal eats and gain energy
  • If animals share field - two strongest breed
  • More details here: https://github.com/apohllo/obiektowe-lab/tree/master/proj1

Genes inheritance

  • Genotype is splitted to three parts
  • Select two parts from stronger parent, one from weaker
  • Make sure that at least one occurence of each gene is present

User interface

alt text

Allows you to run two maps, specify details of each map, count and save statistic, choose speed and more.

Field Details

alt text

After click on map field you can check the details of animals that are present there.

About

OOP Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages