Win detection.