void SetDifficulity() { if (Difficulity0.Checked) { TicTacToeAI.CompDifficulity = 0; } else if (Difficulity1.Checked) { TicTacToeAI.CompDifficulity = 1; } TicTacToeAI.ChangeSetting(); }
void SetSymbol() { if (SymbolX.Checked) { TicTacToeAI.PlayerSymbol = eSymbol.X; } else { TicTacToeAI.PlayerSymbol = eSymbol.O; } TicTacToeAI.ChangeSetting(); }
private void Difficulity1_CheckedChanged(object sender, EventArgs e) { SetDifficulity(); TicTacToeAI.ChangeSetting(); }