lucasart / c-chess-cli

Command Line Interface for UCI Chess engines written in C
GNU General Public License v3.0
70 stars 9 forks source link

integrate xboard in test suite #34

Closed lucasart closed 3 years ago

lucasart commented 3 years ago

@sderr you might be interested in that ? I would rather integrate the current xboard code in the test suite, before modifying it. From experience, I know how even trivial refactorings, that look obviously correct, can in fact break code.

sderr commented 3 years ago

I could try... but unless I'm mistaken, currently all tests are chess960, which is not yet supported in the pull request I submitted. I'd have to add that first.

lucasart commented 3 years ago

Found good documentation on xboard protocol: http://hgm.nubati.net/CECP.html.

I will work on this, which will be a good way for me to learn about xboard.

lucasart commented 3 years ago

To be honest, xboard is long dead and burried. All stable and modern chess engines use UCI, even those which used to be xboard in the past (such as GNU Chess, for example). The protocol itself was always poorly defined, and suffers from serious feature creep (backward compatibility preventing to clean up the mess).

In practice, there is only one person in the world who seems to care about this protocol, and he is practially the encyclopedia of it (HG Muller). So I've asked him for clarifications on the CECP syntax.