private void Button11_Click(object sender, EventArgs e) { button11.Visible = false; button11.Enabled = false; button10.Visible = false; button10.Enabled = false; label2.Text = "You Play For X"; label2.Enabled = true; label2.Visible = true; Refresh(); Thread.Sleep(2000); label2.Enabled = false; label2.Visible = false; brain = new Intelegence("X", true); start(); }
private void Button10_Click(object sender, EventArgs e) { button11.Visible = false; button11.Enabled = false; button10.Visible = false; button10.Enabled = false; label1.Text = "You Play For O"; label1.Enabled = true; label1.Visible = true; Refresh(); Thread.Sleep(2000); label1.Enabled = false; label1.Visible = false; brain = new Intelegence("O", false); brain.realAI(); start(); update(); }