Predators and Prey
This project is a simulation of a predator-prey ecosystem. It models the behavior of animals in a virtual environment, including their movement, feeding, and reproduction patterns.
Autonomous Ecosystem
An autonomous ecosystem simulation where predators and prey interact based on survival instincts such as hunting, fleeing, and breeding.
This project focuses on the implementation of Behavioral Trees and State Machines to create autonomous agents that simulate predator-prey interactions within a virtual ecosystem.
The predator is represented by the big red square and is an autonomous agent that hunts prey, moves from waypoint to waypoint and uses a field of view to detect nearby prey, and employs a state machine to manage its behavior.
The prey is represented by the small blue (male) and pink (female) circles and is an autonomous agent that reacts to its survival instincts including eating, drinking and breeding. Additionally, having a wider field of view, it flees from predators and employs a behavior tree to manage its behavior.
Key Features
- Behavioral Trees
- State Machines
- Field of View
- Survivor instincts (eg. Hunting, Breeding etc.)