Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.81 KB

README.md

File metadata and controls

54 lines (36 loc) · 1.81 KB

Unity Ecosystem

A Simple Ecosystem with Lions, Chickens and Grass in Unity.

Graph

About

A devlog about this project is available here:

Youtube Devlog

This project simulates a simple prey-predator system:

  • Agents lose energy by moving. If their energy is too low, they look for food:

  • Lions eat Chickens

Graph

  • Chickens eat Grass

Graph

  • If they have enough energy, they reproduce. The children inherit the average speed of their parents

Graph

  • Speed of an agent makes them move faster but also consume energy faster so natural selection finds a compromise.

Graph

In the above simulation, lions initially have the upper hand in terms of speed and therefore have more population. However, through natural selection, only the faster chickens survive and reproduce. This leads to new chickens being able to outrun lions and leave them with no food which leads to their extinction.

Package Requirements

This project uses the following non-included packages: