game over condition written