Prolog AI agent for an Unity game