Check game over condition.