Skip to content

Evolution simulator. Project for Object Oriented Programming course 2022/23 at AGH UST.

Notifications You must be signed in to change notification settings

greg282/evolution_simulator

Repository files navigation

Evolution simulator

Gif of the game

Evolution simulator is a program written for Object Oriented Programming Course. More details about project can be found here.

Starting parameters

  • map width and height
  • map variant
  • number of plants at start
  • energy provided by eating each plant
  • number of plants growing each day
  • variant for plant growth
  • starting number of animals
  • starting animal energy
  • maximum animal energy
  • energy needed to consider animal ready to breed
  • energy of the parents used during breed
  • min and max number of mutations in children
  • mutation variant
  • animal genome length
  • behavior variant
  • savins stats to csv file
  • refresh time in ms

Basic game rules:

  • Animal can act only if its energy is above 0
  • Animal can reproduce only if it has amount of energy that is specified in parameter.
  • Animal gets more black the more it eats
  • Animal gets more grey when it is close to death
  • There can be more than 1 animal on each square
  • Only 1 pair of animals can reproduce per square during one day of simulation

Screenshots

screenshot of main menu of the app

Main menu, the first thing you see when starting the application.

screenshot of application running

Application running and recording all the statistics, which you can export later on to a .csv file.

About

Evolution simulator. Project for Object Oriented Programming course 2022/23 at AGH UST.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages