add var.GRAVEYARD_LOCK check in chk_win, add more checks for game ending in those