コード例 #1
0
 private void ChangeTurn()
 {
     game.ChangeTurn();
     if (game.Turn == 'R' && red)
     {
         Turn.Text = "Next move: Red (yours)";
     }
     else if (game.Turn == 'R' && !red)
     {
         Turn.Text = "Next move: Red (opponents)";
     }
     else if (game.Turn == 'B' && red)
     {
         Turn.Text = "Next move: Black (opponents)";
     }
     else if (game.Turn == 'B' && !red)
     {
         Turn.Text = "Next move: Black (yours)";
     }
 }