This Java code simulates an evolution of animals on 2D map made of grids, where animals will move, eat plants, reproduce and die from starvation or wildfires. Simulation follows certain rules:
- Each animal has energy and genes which determine its everyday movement behavior. Those are inherited from their parents with certain mutations
- Everyday, plants are grown and every animal who steps on a grid that contains a plant, eats it and gains energy.
- If two animals meet at one grid and they have enough energy, they reproduce.
- Every configurable amount of days, wilfire starts on random plant with ability to spread.
- If animal hits 0 energy or moves to a grid with wildfire, it dies.
Simulation starts after choosing its parameters in configuration menu. You can also select one of premade configurations:
Statistics in the simulation are being tracked and updated daily:
While simulation is stopped, you can select one of the animals by clicking on it to track its statistics:
- Robert Raniszewski raniszewski-robert
- Adam Głowacki Adasg1



