Custom Survival AI

This project is fully written in C++. It uses a custom engine that uses the “Elite” framework.

The goal of this project was to create an AI that survives as long as possible. It does this by killing or avoiding enemies, searching houses for item pickups and consuming these.

The AI needed to manage two resources, it’s health and it’s stamina. Each resource had it’s corresponding pickup that spawned randomly in houses around the map. The last pickup was a gun that the AI would use to shoot and kill enemies.

For my decision making structure, I decided to use a behavior tree with a blackboard.
All the AI logic is written by me.