Did some work on GameOver function.