Minimax AI with Pygame graphics