Пример #1
0
 private void com백돌ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (AI모드 == false || 컴퓨터돌 == 돌종류.흑돌)
     {
         컴퓨터돌 = 돌종류.백돌;
         com백돌ToolStripMenuItem.Checked = true;
         com흑돌ToolStripMenuItem.Checked = false;
         AI모드 = true;
         시작ToolStripMenuItem_Click(sender, e);
     }
 }
Пример #2
0
        public Form1()
        {
            InitializeComponent();

            DoubleBuffered  = true;
            FormBorderStyle = FormBorderStyle.FixedDialog;
            MaximizeBox     = false;
            MinimizeBox     = false;
            StartPosition   = FormStartPosition.CenterScreen;

            시작효과음.Play();

            ai   = new AI(바둑판);
            컴퓨터돌 = 돌종류.백돌;
        }