Fixed Minimax AI, now works.