Page 1 of 1

My engine cannot play black against another engine

PostPosted: 06 Sep 2013, 13:14
by gpapas123
Hi all,

I have developed an engine called winpapas in c++ and I test it against other popular freeware engines.
winpapas can play white against eg crafty no problem. But when I want it to play black (which means I have to load crafty as engine#1 and winpapas as engine#2) it gets stuck before it's second move. This has to be a communication problem since when I run winpapas independently with black all the output is as it should be. Is there a way to monitor live the i/o of winboard? Anyone can help out?

Re: My engine cannot play black against another engine

PostPosted: 06 Sep 2013, 14:17
by H.G.Muller
You can use the additional option -debug to make WinBoard produce a file called winboard.debug, which logs all communication with the engines. (You can also toggle this logging with the Ctrl-D accelerator key, but this is a bittricky, as you have no feedback whether logging is on or off.)

Re: My engine cannot play black against another engine

PostPosted: 07 Sep 2013, 14:34
by gpapas123
Thanks!

There is a load of info exchanged by winboard and the engines that I was not aware of, but now I will figure it out.
It's just a matter of how many cups of coffee!

cheers
gpapas123