correct minimax algorithm, opponent is now complete