View Full Version : FIDE pairing web application

24-08-2009, 12:32 PM
FIDE pairing via web

Following the lead of bartolin, http://cpanforum.com/posts/11228, I have written a web interface to Games::Tournament::Swiss and put it on the web, at http://e_learning.nuu.edu.tw/swiss/

There are still a number of sharp edges to the interface as well as to Games::Tournament::Swiss itself, so I'm not taking any responsibility for what it does to your tournament.

What I can say is, the greater the number of players and the fewer the number of rounds, the less likely you will have problems.

My main purpose in putting it up for free, open use now is to hammer out bugs before I start using it this semester in discussion (ie, non-chess) competitions at school.

So I welcome reports of problems, perhaps here in reply to this post. Although I can't promise to do anything about the reports.

The problems I am particularly interested in are adding and deleting players after the first round. It is important that this be possible without damaging the integrity of the pairing process.

Another thing I am interested in is the smoothness, informativeness and intuitiveness of the interface. You may find it changing as I continue to refine it. :-)

The problem of the pairing process not terminating, or taking very long periods of time, either because of bugs in Games::Tournament::Swiss or the FIDE Rules is something I want to do something about too. bartolin's application apparently terminated the pairing process if it did not return in some fixed length of time. I need to investigate how he did this.

Problems of fidelity to the Rules are less important to me at this point. Games::Tournament::Swiss doesn't implement C12 properly. And the non-application of B2, B5 and B6 in the last round is not respected. These are
things I want to look at in the long-term.

Feel free to report those and other problems however.

The application maintains state from one round to the next by placing player and history cookies on your computer. These have validity for one month, and then expire. That seems long enough to me for the length between the rounds of any competition.

Don't rely on these cookies to preserve the records of your tournament. You need to independently back up your tournament data in case of cookie corruption.

This opening up of Games::Tournament::Swiss to any one who wants to pair a tournament is an experiment. I wouldn't mind leaving it up permanently if it weren't going to use up server resources. But I've got other things going on on the server, and I'll probably take it down when the semester starts.

The Games::Tournament::Swiss code will remain available at http://search.cpan.org/dist/Games-Tournament-Swiss/ and the web interface will be available in the web directory of the subversion repository at http://svn.openfoundry.org/swiss. You can set this up on your own server, with a little knowledge of perl and web servers. This is Free Software.

Javier Gil
19-09-2009, 07:39 PM
Hi Drbean.

I just wanted to congratulate you on what I regard as a pretty amazing piece of work! :clap:
The potential for this application is simply AMAZING.
For example, chess coaches all over the world can use this application to do the pairings of their school competitions everyweek using their mobile phones.

Keep up your amazing work, I'll be paying close attention. ;)