Predator-Prey Simulation





Predator-Prey Simulation - Offically submitted under the name "Legend Of Kölling: Breath of the BlueJ".
This project was a paired programming project completed as part of coursework for my Programming Practice And Applications module (PPA). Which achieved a solid 95%.
The project models a living world with 8 unique species. These include producers, herbivoursm and predators, each of which interact dynamically within randomly generated biomes (Grass, Water or Neutral). Each speicies was given unique breeding rules, food sources and environmental advantages, creating emergent behaviours where ecosystems can both flourish and collapse. If any of the species present goes extinct the simulation immeadiately concludes.
Below are some of the key features of the project.
A Day/Night cycle and Weather system were added. This directly impacted animal activity, for example, predators would sleep at night, stopping all activity, whilst herbivours would continue un-distrubed, or how water based animals like "Zora" and "Fish" would gain a bonus to reproduction and movement during Rainfall and would remove the negative impact of the wrong biome.
Biomes where added in a random arrangement. These would give animals specalised for these biomes to have advantages in their corresponding biome but disadvantages in foreign biomes. Encouraging certain species to thrive in specific sections of the simulation.
A Disease feature was added, where an infection once started spreads via proximity, breeding with hosts and the consumption of a host of the disease. The infected organism will either recover or die, however, the disease was programmed to be very deadly and so will most often kill the host. Infected organisms are shown in bright red in the simulation.
*No Github repo is provided for this project due to privacy regulations with Offically Graded KCL Courseworks