Page 1 of 1

Engine console output in xboard

PostPosted: 18 Apr 2010, 14:44
by 2di
Hi All

I was able to connect engine to xboard, and make it play against another one, But I have question about console output of my program, it seems to be missing.

Simple statements for C++ like cout, or printf(), how can I see those ? Engine output contains only steps?

also, just the matter of interest, are there many checkers games which support xboard interface? I was looking for some but didnt find any.

Thanks a lot

Re: Engine console output in xboard

PostPosted: 18 Apr 2010, 15:27
by H.G.Muller
If you want engine output to appear in the engine-output window, you have to send it in the format of WB protocol thinking output, i.e. prefixed with 4 integers (depth, score, time, nodes). If the aim is just to print something, send the depth of the last real thinking output you sent, followed by three zeros.

Other output of your engine can only be seen in the xboard.debug file (if you are running with the -debug option).

Checkers is not a Chess variant (it does not have replacement capture), and is not supported by XBoard.

Re: Engine console output in xboard

PostPosted: 18 Apr 2010, 18:02
by 2di
Thanks for the explanation, seems to work fine :)