able to show 'game over' when game ends