public bool isWin() { clsJudge judge = new clsJudge(this); bool flag = true; if (step != 0) { flag = false; } else { for (int i = 0; i < Done.Count; i++) { if (judge.isError(Done[i])) { flag = false; } } } return(flag); }
public void Fresh() { clsJudge judge = new clsJudge(this); clsHint hint = new clsHint(this); if (item.Checked) { hint.greenHint(Btns); if (Done != null) { for (int i = 0; i < Done.Count; i++) { hint.errorHint(Done[i]); } } } else { hint.clearHint(Btns); } }
public clsHint(clsGame gg) { judge = new clsJudge(gg); }