Game over detection and state added