Author: Miguel A. Ballicora
Date: 07:07:37 11/07/01
Go up one level in this thread
On November 06, 2001 at 23:51:51, Robert Hyatt wrote: >On November 06, 2001 at 14:44:07, Miguel A. Ballicora wrote: > >>On November 06, 2001 at 11:57:32, Robert Hyatt wrote: >> >>>On November 05, 2001 at 21:46:52, Miguel A. Ballicora wrote: >>> >>>>On November 05, 2001 at 21:35:12, Steffen Jakob wrote: >>>> >>>>>On November 05, 2001 at 20:23:21, Vincent Diepeveen wrote: >>>>> >>>>>>On November 05, 2001 at 18:35:25, Miguel A. Ballicora wrote: >>>>>> >>>>>>You need to modify winboard source code for your plan Miguel. >>>>> >>>>>Why? Because there is no way to ask the question below with the xboard protocol? >>>> >>>>Yes there is a way. Taken from the protocol that comes with xboard >>>>and it is in Tim Mann's web page: >>>> >>>>---------------------------------- >>>>askuser REPTAG MESSAGE >>>>Here REPTAG is a string containing no whitespace, and MESSAGE consists of any >>>>characters, including whitespace, to the end of the line. xboard pops up a >>>>question dialog that says MESSAGE and has a typein box. If the user types in >>>>"bar", xboard sends "REPTAG bar" to the engine. The user can cancel the dialog >>>>and send nothing. >>>>----------------------------------- >>>> >>>>Winboard has everything to do this. Am I delussional? >>>> >>>>Regards, >>>>Miguel >>> >>>That isn't the problem. The problem is _winboard's_ clock value. If you >> >>Vincent thought it was a problem and it was and answer to him. >> >>the idea how to do it is >>http://www.icdchess.com/forums/1/message.shtml?195767 >> >>>can't change it, winboard will continually give you time/otim messages after >>>each move that change the clock back. If you try to ignore those, then you >>>take the chance of breaking the chess server code which should use them. In >> >>I am afraid that I do not understand what you mean by chess server code. >>Is it related to the communication with ICC and the likes? It is not intended >>to be use in that environment. > > >Actually that is how many of the people are using xboard/winboard, to play >on servers. And that requires that winboard/xboard inform the chess engine But my suggestion has nothing to do with servers. >as the clocks change, since lag and moretime can alter the clocks and the >engine must know. Far more use it to play on servers than use it to play in >tournaments that require human operators + real chess clocks. >Xboard is simply being used in a way it was not designed to be used. IE it >was designed to keep _the_ clock itself. It was later modified to keep the Well, xboard was not design for internet either. It came later with the zippy code. >clock in human vs engine games, or in engine vs engine games, but accept the >clock updates when on a server. It was never envisioned as an interface that >would be used to operate a program in a tournament with a human operator and >a _real_ chess clock as well. > >It can be used like that, but not very conveniently. What is needed is a quick >"adjust clock" option so that the clock can easily be synchronized with the game >clock (manually) when needed. That would be cool. Maybe and engine message to the interface saying that "2 minutes has to be taken out of the clock" or "set remaining time to 15 minutes" or something like that. Then, the engine can ask the user and act. That will keep the spirit of the engine taking control of the interface. >>>short, it turns into a kludge one way or another. When I play in tournaments, >>>I use "text mode" always. And have absolutely no problems of any kind doing >>>so either... >> >>Of course, the discussion is whether we can do this in WB or not. >> > >Right. And it means debugging two sets of code, one that ignores winboard's >clock values, one that trusts them explicitly, and hoping that one doesn't >screw up the other... And it is almost a certainty that the server code will >be tested the most, since that is the most common way of using it. Leaving >potential bugs/holes in the "tournament mode". For what I read, most people have already a "operator time" feature for these tournaments. What I proposed does not add any code to debug except a substraction line. I do not think it is a big deal. Let's not digress here. Vincent said that you cannot handle all this with winboard and that statement is not correct. My point is also that programmers should be aware that if they use winboard, there are ways to do it better without restarting the engine. Regards, Miguel > > > >>Regards, >>Miguel
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.