Skip to content

jnowakow/EvolutionGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EvolutionGenerator

Starting paramters can be found in config file. Filelds in file are:

  • witdh - the map will have x coordinate from 0 to width
  • height - the map will have y coordiante from 0 to height
  • jungleRatio - percent of map surface which is jungle
  • initialPlantsCount - number of plants placed on map at the beginnig of simulation. Half will be place in jungle and half in steppe
  • initialAnialsCount - number of animals placed on map at the beginnig of simulation
  • animalMoveCost - energy take from animal after move
  • animalInitialEnergy - starting energy for each animal
  • energyFromPlant - energy which animal obtain afeter eating plant
  • plantsInJungleSpawn - number of plants spawning in jungle after each day
  • plantsInSteppeSpawn - number of plants spawning in steppe after each day

Config file name should be passed as program arument.

About

Project for OOP labs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages