Пример #1
0
 public void setupGame()
 {
     GD = new GameDriver();
     ai = new AI(GD);
     //cannot have a new game until one is started
     //enable this button on the start game button press
     btn_newGame.Enabled = false;
     setupBoard();
     disableAllButtons();
     GD.displayBoard();
 }
Пример #2
0
 public AI(GameDriver gd)
 {
     main_GD = gd;
 }