예제 #1
0
 private void CheckWin(int x, int y, Cases pawn)
 {
     if (usedPoint.Count == 361)
     {
         gameUI.DrawScreen();
     }
     if (captured[Convert.ToInt32(playTurn)] >= 10)
     {
         gameUI.WinScreen(Convert.ToInt32(playTurn) + 1);
         finish = true;
     }
     CheckFive(x, y, pawn);
     if (pWin.Count > 0)
     {
         foreach (ArrayList t in pWin)
         {
             ReCheck(t);
         }
     }
 }