Detecting game over progress

for testing on my laptop