Implemented Game Over logic