Skip to content

tkajda/Life-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Darvins Life Simulator

Project for Object-oriented programming classes in Faculty of Computer Science, Electronics and Telecommunication at the AGH University of Science and Technology.

Author: Tomasz Kajda.

Description

Project aims to carry out simple simulation of cycle of life. Animals are placed on the map with a jungle at the middle. Each day animal each animals make several decision which affects rest of their life.

Main Features

1. Animals have energy, which defines length of their life.

2. Each day animals lose energy, unless they eat plant, which restores certain amount of it.

3. Each day certain amount of plants grow on the map.

4. Each animal has move preferation based on its genes.

5. Starting genes are random.

6. Animals can copulate if they stand on same the same point and each of them has energy above 50% of starting energy.

7. Children inherits genes of its parents.

8. Simulation ends when there are no living animals.




Aside default setting, user can choose own parameters.
Here is the menu of the application

Alt text

Running application with default parameters simualtion

2022-04-23 16-21-41

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors