public AISpecifications(ChessBoard main, NewGame gamemode) { InitializeComponent(); normal.Checked = true; white.Checked = true; Main = main; GameMode = gamemode; }
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(); } }