Moderator: Andres Valverde
Guenther Simon wrote:Is there yet a way to set up different time controls properly in a PGN at all? I believe currently the White time is written in the PGN header, right?
9.6: Time control
The follwing tag is used to help describe the time control used with the game.
9.6.1: Tag: TimeControl
This uses a list of one or more time control fields. Each field contains a
descriptor for each time control period; if more than one descriptor is present
then they are separated by the colon character (":"). The descriptors appear
in the order in which they are used in the game. The last field appearing is
considered to be implicitly repeated for further control periods as needed.
There are six kinds of TimeControl fields.
The first kind is a single question mark ("?") which means that the time
control mode is unknown. When used, it is usually the only descriptor present.
The second kind is a single hyphen ("-") which means that there was no time
control mode in use. When used, it is usually the only descriptor present.
The third Time control field kind is formed as two positive integers separated
by a solidus ("/") character. The first integer is the number of moves in the
period and the second is the number of seconds in the period. Thus, a time
control period of 40 moves in 2 1/2 hours would be represented as "40/9000".
The fourth TimeControl field kind is used for a "sudden death" control period.
It should only be used for the last descriptor in a TimeControl tag value. It
is sometimes the only descriptor present. The format consists of a single
integer that gives the number of seconds in the period. Thus, a blitz game
would be represented with a TimeControl tag value of "300".
The fifth TimeControl field kind is used for an "incremental" control period.
It should only be used for the last descriptor in a TimeControl tag value and
is usually the only descriptor in the value. The format consists of two
positive integers separated by a plus sign ("+") character. The first integer
gives the minimum number of seconds allocated for the period and the second
integer gives the number of extra seconds added after each move is made. So,
an incremental time control of 90 minutes plus one extra minute per move would
be given by "4500+60" in the TimeControl tag value.
The sixth TimeControl field kind is used for a "sandclock" or "hourglass"
control period. It should only be used for the last descriptor in a
TimeControl tag value and is usually the only descriptor in the value. The
format consists of an asterisk ("*") immediately followed by a positive
integer. The integer gives the total number of seconds in the sandclock
period. The time control is implemented as if a sandclock were set at the
start of the period with an equal amount of sand in each of the two chambers
and the players invert the sandclock after each move with a time forfeit
indicated by an empty upper chamber. Electronic implementation of a physical
sandclock may be used. An example sandclock specification for a common three
minute egg timer sandclock would have a tag value of "*180".
Greg Simpson wrote:Thanks Alessandro, it's working fine now.
Perhaps you should have mentioned the asymmetric time controls in your readme, for those who haven't followed this thread.
I would prefer that the time controls in a tournament (/mg N) stayed with the player, instead of the color. That is, that the black and white time controls be swapped after each game in a tournament. I can work around this though, if you don't think it's worthwhile.
Folks who are interested in working on WinBoard, especially if they are willing to cooperate and coordinate their efforts, really should join the xboard/winboard Savannah project at https://savannah.gnu.org/projects/xboard.
Invalid group: that group does not exist
milix wrote:Folks who are interested in working on WinBoard, especially if they are willing to cooperate and coordinate their efforts, really should join the xboard/winboard Savannah project at https://savannah.gnu.org/projects/xboard.
There is a problem with this link. I get
- Code: Select all
Invalid group: that group does not exist
Thomas Mayer wrote:Hi Alessandro,
because I made epd2wb in just some hours compatible to UCI I thought that it might be interesting to make winboard also compatible to UCI engines. Because your winboard-improvement-approach seems to me the one the most advanced I would like to work on your source as starting point. What do you think ?
Greets, Thomas
Thomas Mayer wrote:because I made epd2wb in just some hours compatible to UCI I thought that it might be interesting to make winboard also compatible to UCI engines. Because your winboard-improvement-approach seems to me the one the most advanced I would like to work on your source as starting point. What do you think ?
Thomas Mayer wrote:because I made epd2wb in just some hours compatible to UCI I thought that it might be interesting to make winboard also compatible to UCI engines. Because your winboard-improvement-approach seems to me the one the most advanced I would like to work on your source as starting point. What do you think ?
Dieter B?r?ner wrote:That would be great, but I fear, it would not be easy. The main problem may not be the protocol, but the engine settings. One has to create all those dialogs at run time. Take care of the size (some engines may chose to have many and long options), ... Looks like a not too easy project.
I guess in epd2wb, you can just ignore all those settings and only use hash and TB path.
Thomas Mayer wrote:Hi Alessandro,
because I made epd2wb in just some hours compatible to UCI I thought that it might be interesting to make winboard also compatible to UCI engines. Because your winboard-improvement-approach seems to me the one the most advanced I would like to work on your source as starting point. What do you think ?
Greets, Thomas
Alessandro Scotti wrote:I think the protocol part would be the most difficult. In Winboard, this code is not concentrated in a single place, but rather sparsed across many functions, which will complicate things a lot.
On the other hand I wouldn't worry too much about the GUI code. Using Delphi, even the most sophisticated GUI's can be programmed in very little time and I can take care of that when it's needed.
Return to Winboard and related Topics
Users browsing this forum: No registered users and 15 guests