Game over detection and state