Added game over check routine