minimax returns scores for end states