Scientific simulation · 2020
Ecosystem Simulation
A simulation of plants, prey and predators on a grid of cells, written in C++ with SFML.
The project
I wrote this project to see how three populations evolve on a grid.
Plants spread onto empty cells. Prey eat plants and die if they do not eat enough. Predators do the same with prey.
A left click starts or pauses the simulation, and a right click prints the share of each species in the console.
Next project
Tick Tactics