I need a programmer ...

Discussion of chess software programming and technical issues.

Moderator: Ras

Frank Quisinsky
Posts: 7036
Joined: Wed Nov 18, 2009 7:16 pm
Location: Gutweiler, Germany
Full name: Frank Quisinsky

I need a programmer ...

Post by Frank Quisinsky »

Hi there,

I looking for a tool for my SWCR webpage.

On 4 maschines two matches per machine runs to the same time (4x Q9550 systems, with Ponder, each engine 1 Core). So 8 games still running to the same time, each day 288 games played with the time control 40/10.

Now I search a tool I can display the 8 still running games live on my webpage.

Board 1, 2, up to 8.

Perhaps a programmer can help me to realize the idea. Or a tool is availabel which such possibilities. I haven't enough knowledge about programming to do that in own work.

Best
Frank
User avatar
hgm
Posts: 28378
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: I need a programmer ...

Post by hgm »

The tool I use is WinBoard, the Abyss http server and a JavaScript-powered web-page. Currently I am playing Xiangqi games, and they can be watched at

http://80.100.28.169/xq/battle.html

Similar pages exist (and were active in the past) for watching Gothic Chess games ( http://80.100.28.169/gothic/battle.html ) and Knightmate games ( http://80.100.28.169/gothic/knightmate.html ).

It is really quite easy to set up. I play the games like I normally would, using PSWBTM and WinBoard to run the tournament, where I use the (undocumented) /serverMoves option to have WInBoard keep a record of the game (moves + scores + depth + time) on a file moves.txt, which is in the file-system sub-tree visible externally through the web server. This file is then periodically probed by the JavaScript program associated with the page where the games can be viewed, so that this page is continuously updated. The page contains liks to the PGN file, and a cross-table and standings file that is updated after each game through a PGN->cross-table conversion program, automatically invoked by PSWBTM.
User avatar
Andres Valverde
Posts: 580
Joined: Sun Feb 18, 2007 11:07 pm
Location: Almeria. SPAIN
Full name: Andres Valverde Toresano

Re: I need a programmer ...

Post by Andres Valverde »

hgm wrote:The tool I use is WinBoard, the Abyss http server and a JavaScript-powered web-page. Currently I am playing Xiangqi games, and they can be watched at

http://80.100.28.169/xq/battle.html

Similar pages exist (and were active in the past) for watching Gothic Chess games ( http://80.100.28.169/gothic/battle.html ) and Knightmate games ( http://80.100.28.169/gothic/knightmate.html ).

It is really quite easy to set up. I play the games like I normally would, using PSWBTM and WinBoard to run the tournament, where I use the (undocumented) /serverMoves option to have WInBoard keep a record of the game (moves + scores + depth + time) on a file moves.txt, which is in the file-system sub-tree visible externally through the web server. This file is then periodically probed by the JavaScript program associated with the page where the games can be viewed, so that this page is continuously updated. The page contains liks to the PGN file, and a cross-table and standings file that is updated after each game through a PGN->cross-table conversion program, automatically invoked by PSWBTM.
Looks good. A Java Script for normal chess is needed i guess. Is it available?
Saludos, Andres
User avatar
hgm
Posts: 28378
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: I need a programmer ...

Post by hgm »

Yes, it is. I used it for broadcasting the "Charge of the Light Brigade" games (3 Queens vs 6 or 7 Knights), albeit with a slightly adapted initial position.

In fact the JavaScript is really the same for all variants. (Except that some variants contain some niceties to make it possible to change the representation of some of the un-orthodox pieces. It is just the HTML page that refers to the JavaScript that has to be different: the board occurs on that HTML page as a table of GIF piece images, in the initial position. The JavaScript just moves around the images in the table cells based on the coordinates specified in the moves.txt file it periodically fetches. I have a HTML page for the standard opening position oFIDE Chess (which is nearly identical to the page for Knightmate).

The nice thing about this live viewer is that it also shows the score and depth of the moves. Computer Chess without that is not mutch fun.