Another doubt about level and setboard

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

Another doubt about level and setboard

Postby Fermin Serrano » 22 Apr 2009, 15:19

I wrote a similar doubt a few days ago.

It is white to move. Now If I receive:

Code: Select all
level 40 20 0
setboard r1bq1rk1/pp2bpp1/2n2n1p/3p4/3N4/2N1B1P1/PP2PPBP/R2Q1RK1 b - - 0 1


As setboard change to black to move, must I assume white has 39 moves to go or 40.
I have not programmed nothing about this, and I have seen games where my engine is white and is 1 move to reach 40, and winboard send time with +20 add.

Best regards,
FS
User avatar
Fermin Serrano
 
Posts: 72
Joined: 10 Apr 2008, 18:20
Location: Madrid (Spain)

Re: Another doubt about level and setboard

Postby H.G.Muller » 23 Apr 2009, 12:10

Well, this is a messy area, so what winBoard actually does is not necessarily the same as how it shuold be done.

I thought that WinBoard always starts black-to-move positions on board number 1 (while it normally starts with board number 0). And it should grant extra time (at 40 mps) after the ply that creates board 79 (for white) and 80 (for black), independent from where the game started. I guess this is what we want it to do, not?

If it does something else, it should be considered a WinBoard bug.

But this implies indeed that an engine, receiving a black-to-move FEN with full-move count = 1 would have to correct its white 'movestogo counter' to 39.
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 18 guests