Moderator: Andres Valverde
Alessandro Scotti wrote:I would like to write a command line tool to play engine matches, as currently it's not easy to do that on non-Windows platforms.
R?mi Coulom wrote:Alessandro Scotti wrote:I would like to write a command line tool to play engine matches, as currently it's not easy to do that on non-Windows platforms.
What platform do you have in mind ? MacOS and Linux are probably the most popular alternatives, and I expect xboard to work well on both.
Alessandro Scotti wrote:Hi folks,
I would like to write a command line tool to play engine matches, as currently it's not easy to do that on non-Windows platforms.
For a start, I was thinking of something quite simple with just a few basic features:
- runs only a single match, then exits (with the proper code for interfacing with scripts);
- can start from a predefined FEN position;
- can monitor the game and adjudicate it;
- saves one or more log files with engine data (protocol messages, PV's and so on);
- initially supports only Winboard version 2 (*) and "conventional" time controls.
Project is open source (GPL) and probably written in Java.
I would already be quite happy with the above... what do you think?
(*) Design will allow the program to be easily extended with more protocols, however I'm not familiar with UCI that's why I would like to start with Winboard.
Alessandro Scotti wrote:Hi,
thanks for the feedback and the suggestions! I think the initial set of goals must be changed a little now:
- can start from a PGN game *or* a FEN position (PGN would still allow that but there are cases when simple FEN is probably easier to use);
- allow different time controls for black and white (d'oh, didn't thought about it before);
- game adjudication and other minor things can be deferred a little to make room for the above;
- UCI is very important of course, it will be implemented as soon as there is a sufficiently stable base of code.
Considering that I already have code for reading and writing PGN in Kiwi, and some more, I probably could save some time by coding the thing in C++ although in this case I won't be able to test it on Mac OS X initially (...until my shiny new MiniMAC arrives! ).
As for tournaments and ratings, I'm very interested in those too, but I think they should be implemented as separate tools so that this one can be left as simple as possible.
Tord Romstad wrote:One more feature which I would like to see, and which should be relatively easy to implement:
- ability to run an engine through a test suite and print the results to a file.
Statistics about the number of solutions found would also be nice, but this could be tricky to implement for xboard engines (because the protocol does not specify the format of the PV).
Alessandro Scotti wrote:- can start from a PGN game *or* a FEN position (PGN would still allow that but there are cases when simple FEN is probably easier to use);
Alessandro Scotti wrote:- UCI is very important of course, it will be implemented as soon as there is a sufficiently stable base of code.
Alessandro Scotti wrote:Considering that I already have code for reading and writing PGN in Kiwi, and some more, I probably could save some time by coding the thing in C++ although in this case I won't be able to test it on Mac OS X initially (...until my shiny new MiniMAC arrives! 8-)).
Alessandro Scotti wrote:As for tournaments and ratings, I'm very interested in those too, but I think they should be implemented as separate tools so that this one can be left as simple as possible.
Tord Romstad wrote:This sounds great! One more feature which I would like to see, and which should be relatively easy to implement:
- ability to run an engine through a test suite and print the results to a file.
Statistics about the number of solutions found would also be nice, but this could be tricky to implement for xboard engines (because the protocol does not specify the format of the PV).
Fabien Letouzey wrote:BTW, you haven't answered about how you intended to handle engine parameters (directory, etc ...).
match Glaurung_0.1.7 Fruit_2.0
Fabien Letouzey wrote:Tord Romstad wrote:This sounds great! One more feature which I would like to see, and which should be relatively easy to implement:
- ability to run an engine through a test suite and print the results to a file.
Statistics about the number of solutions found would also be nice, but this could be tricky to implement for xboard engines (because the protocol does not specify the format of the PV).
PolyGlot will have this for UCI engines in a few weeks.
Fabien.
I like the GradualTest feature that writes two files.Dann Corbit wrote:Fabien Letouzey wrote:Have you guys seen Bruce Moreland's tool Epd2WB?
http://www.brucemo.com/compchess/gerbil/index.htm
It runs an engine against an EPD test suite.
There is also gradualtest by O.G.M.:
http://home.online.no/~malin/sjakk/
Both come with source code.
eric_oldre wrote:Alessandro,
I haven't heard any updates on this idea in a while, Is this still a project you are considering?
If so I would be glad to help out in any way I can, since I'd be very interested in the final product. I can do beta testing, help with the design, can try to fix bugs, or whatever else you'd like help with.
Eric Oldre
Alessandro Scotti wrote:eric_oldre wrote:Alessandro,
I haven't heard any updates on this idea in a while, Is this still a project you are considering?
If so I would be glad to help out in any way I can, since I'd be very interested in the final product. I can do beta testing, help with the design, can try to fix bugs, or whatever else you'd like help with.
Eric Oldre
Hi Eric,
thanks for offering help! Yes of course I'm still behind this project, but I don't think I will start to code something before a week or two, as I'm too busy in this period. In the meanwhile I'll keep working on the design and I've setup an environment that uses xboard to play matches. Hopefully, this will help me understand better how things are supposed to work, and suggest improvements. Actually, one of the things I'm considering is working on the xboard code itself and "simply" add the missing features...
Anyway, as soon as I have something to show I'll definitely post a message here! BTW, if you have a spare Unix machine I can send you the scripts I'm currently using to play matches, get statistics and so on... very useful for testing new ideas!
Return to Winboard and related Topics
Users browsing this forum: No registered users and 5 guests