Exemplo n.º 1
0
        public EngineConfiguration(UCI currentEngine)
        {
            InitializeComponent();

            Engine = currentEngine;
            Engine.AddDataReceivedEventHandler(EngineDataReceived);
            Engine.EngineCommand(UCI.kSetUCIMode);
            //if (Engine == null)
            //{
            //    Engine = UCI.GetEngine();
            //    Engine.InitEngine("stockfishengine.exe", string.Empty, EngineDataReceived);
            //}
        }
Exemplo n.º 2
0
        public EngineConfiguration(UCI currentEngine)
        {
            InitializeComponent();

            Engine = currentEngine;
            Engine.AddDataReceivedEventHandler(EngineDataReceived);
            Engine.EngineCommand(UCI.kSetUCIMode);
            //if (Engine == null)
            //{
            //    Engine = UCI.GetEngine();
            //    Engine.InitEngine("stockfishengine.exe", string.Empty, EngineDataReceived);
            //}
        }
Exemplo n.º 3
0
 private void btnTestCommand_Click(object sender, EventArgs e)
 {
     Engine.EngineCommand(txtTestCommand.Text);
 }