示例#1
0
 //win conditions
 public bool CheckWin()
 {
     if (fBoard.CheckCols() || fBoard.CheckRows() || fBoard.CheckDiags())
     {
         winFlag = true;
         return(true);
     }
     return(false);
 }