XBoard tournament-manager mode

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

XBoard tournament-manager mode

Postby H.G.Muller » 24 Apr 2011, 19:29

I have made a first attempt at equiping XBoard with a built-in tournament-manager function. The aim was to allow multiple instances of XBoard to cooperate on playing the games of a tourney. Of course a single instance will eventually also do the job, and this is in fact the only thing I tested so far. But that seems to work now, including restart of an interrupted tourney.

The source code of the alpha version that does this can be downloaded from the tourney branch of my hgm.nubati.net repository. (Use the latest snapshot.)

You are invited to test it!

Image

To start up a tourney, you would first have to install the engines, either by editing the settings file in a winboard.ini-like manner (except that it is called ~/.xboardrc), or use the Load Engine dialog:

Image
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: XBoard tournament-manager mode

Postby Andres Valverde » 24 Apr 2011, 22:24

Looks a nice idea... could you provide an EXE ?. I can run some tests
Un saludote, Andrés
User avatar
Andres Valverde
 
Posts: 83
Joined: 18 Feb 2007, 17:08

Re: XBoard tournament-manager mode

Postby H.G.Muller » 26 Apr 2011, 19:37

There now also is a version of WinBoard that has tournament functionality, although it doesn't have the fancy menu dialogs yet to replace engines and set up a tourney. Butit has a Startup Dialog, and I made a quick hack to put in some tournament support there:

I equipped it with a button to add the engine selected by the second engine combobox to a list of tourney participants. This way you can populate the tourney with engines installed in the ini file. (The must be installed both for first and second engine, though!) The rest of the tourney description (in so far you are not satisfed with the defaults) must be put as 'Additional options', in particular you will have to write -mm -tf TOUERNEYFILE there to start match mode, directed by the mentioned TOURNEYFILE, which will be created wth the given participants if it did not exist. If you mention a -tf that did exist, you should not enter participants, (or any other parameters) as they will be taken from the existing file. Otherwise you can specify -tourneyCycles (if you are not happy with 1), -tourneyType (if you don't want a round-robin) and other stuff (starting positions, etc.). The option -defaultMatchGames (which can be set through the Common Engine Options dialog)

Of course you can put combinations of settings you use often in small XXX.ini files, and specify those as @XXX in the additional options field. Like Nunn.ini, containing

-matchMode
-tourneyType 1
-defaultMatchGames 20
-loadGameFile "starts\Nunn.pgn"
-loadGameIndex -2
-roundSync false


if you often play gauntlets (first engine of the participants list against all others) of Nunn matches.

It can be downloaded from http://hgm.nubati.net/WinBoard-TM.zip (a bare winboard.exe).

Image
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Now also available in WinBoard

Postby H.G.Muller » 29 Apr 2011, 14:31

I now equipped WinBoard with equivalent dialogs:


Image


Image


Image

This should work more conveniently than specifying the tourney in the startup dialog. (Which I will remove again.) You can also change engine now during any time (even during games or analysis!).
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: XBoard tournament-manager mode

Postby Josh Pettus » 29 Apr 2011, 15:43

Congrats! :D Will there be a similar menu for logging into a ICS?
Josh Pettus
 
Posts: 317
Joined: 11 Mar 2009, 01:11

Re: XBoard tournament-manager mode

Postby H.G.Muller » 29 Apr 2011, 19:39

You mean you want to switch ICS in the middle of a session?

I had not really planned that. The point with engines was that people wanted to switch it without lossing the game or position. There is no way you could do that with an ICS. So you might as well simply restart WinBoard.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: XBoard tournament-manager mode

Postby Josh Pettus » 29 Apr 2011, 19:43

Well I didn't know if you still wanted to nix the opening dialog box, people are going to have to select an ICS somewhere. And Xboard doesn't have anything like that. Besides, I can see some use in having prepared ICSs available for people to select from within Winboard/Xboard, as oppose to having to restart and clicking on some shortcut even if the board is reset. "Upload to examine" still works, if they really wanted to do something with their game on the ICS.

On another note, will switching engines for analyzing on an ICS or using with Zippy work?
Josh Pettus
 
Posts: 317
Joined: 11 Mar 2009, 01:11

Re: XBoard tournament-manager mode

Postby H.G.Muller » 29 Apr 2011, 20:52

For now I disabled the Load Engine menu in ICS mode, because I don't completely fathom all consequences of that yet. But eventually it should be possible to do that as well.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 32 guests