Game AI ยท Unity

Team Squad AI

A final-year project exploring AI behaviour and decision-making in Capture the Flag.

In-engine demonstration

Download the demo

Project overview

Developed at Sheffield Hallam University, this Unity3D project explored an AI agent for Capture the Flag using behaviour trees and a team-based structure for movement and commands.

The original goal was to create two AI teams that played on the same layout, with enough variation to make each match different. Because of the project's complexity and limited time, I narrowed the scope to focus on the core AI and dropped squad tactics.

Project goals

  • Investigate game AI approaches, including decision trees and finite-state machines
  • Build the AI foundation, movement, and pathfinding systems
  • Explore squad movement and teamwork AI
  • Develop attack and defence behaviours
  • Create a two-team Capture the Flag demo