Prolog AI agent for an Unity-based game