Copyright © 2018 Ruoyao Wu. All Rights Reserved.

Animal Simulation AI

This is  a aggressive animal simulation AI program.

 

Animals will look for and eat food in the environment and if another animal is near to the food it wants to eat, then it will attack that other animal. When the animal's health is less than 20% of its original 100% health, then it will run away and try to find food with no other animals near it until it is greater than 70% of its original 100% health.

Steering behaviors are used in this program. Animals will wander around the environment and look for food in the forest. It can avoid the rock and seek the food. It will run away when facing stronger enemies. Steering behavior seek, flee, avoid, wander are applied in this program.

The AI for the animal is using subsumption structure to make sure all the behaviors are acting correctly.

This is a one-person project in Unity.