Implementation of game over