checkendgamecondition finished
iniday for test checkendcondition