Exemplo n.º 1
0
 public AISpecifications(ChessBoard main, NewGame gamemode)
 {
     InitializeComponent();
     normal.Checked = true;
     white.Checked  = true;
     Main           = main;
     GameMode       = gamemode;
 }
Exemplo n.º 2
0
        private void newGameToolStripMenuItem_Click(object sender, EventArgs e) // start a new game with player vs player or player vs ai
        {
            NewGame      newgame = new NewGame(this);
            DialogResult show    = newgame.ShowDialog();

            if (PvE && AIColor)
            {
                AIMove();
            }
        }