Behaviour Trees for Decision Making

To control agent decisions, I implemented behaviour trees instead of simpler finite state machines or overly complex neural networks. Behaviour trees allowed me to build modular and reusable logic, such as choosing when to attack, retreat, or wander. Their hierarchical design made the AI adaptable while leaving room for future expansion with new unit types.