Exemplo n.º 1
0
 public void PlayAt(int row, int col, int mode)
 {
     if (mode == 1)
     {
         BoardChessOffline.PlayerPlayAt(row, col);
     }
     else if (mode == 2)
     {
         BoardChessOffline.PCVsPlayerPlayAt(row, col);
     }
     else if (mode == 3)
     {
         Socket.PlayAt(row, col);
     }
 }