Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 886 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 886 Bytes

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.