Game over detection.