Example #1
0
 /// <summary>
 /// Button "Ok" Click. Start game.
 /// </summary>
 /// <param name="isManToe"> Is Man play "O". </param>
 private void OnButtonOkClick(bool isManToe)
 {
     if (isManToe)
         computer = new ComputerGo(false);
     else
         computer = new ComputerGo(true);
     this.LayoutRoot.Children.Clear();
     InitializeButtons();
 }
Example #2
0
 /// <summary>
 /// Button "Ok" Click. Start game.
 /// </summary>
 /// <param name="isManToe"> Is Man play "O". </param>
 private void OnButtonOkClick(bool isManToe)
 {
     if (isManToe)
     {
         computer = new ComputerGo(false);
     }
     else
     {
         computer = new ComputerGo(true);
     }
     this.LayoutRoot.Children.Clear();
     InitializeButtons();
 }