Integrated AI with main game.