Prolog-based AI agent for an Unity-based game