add game over check