public void LocalBacktrack() { if (!MChessChess.LocalBacktrack()) { if (MChessChess.IsBreakingDeadlock()) { BreakDeadlockMode = true; throw new Exception("BreakDeadlockException"); } else { ChessDetach(); } } }