コード例 #1
0
 public void ReceiveMove(int row1, int col1, int row2, int col2)
 {
     game.PickCell(row1, col1);
     game.PlaceCell(row2, col2);
     ChangeTurn();
     UpdateGrid();
     if (game.Victory != null)
     {
         MessageBox.Show($"{game.Victory} team vins!");
     }
 }