checked if player won