Author: Pham Hong Nguyen
Date: 11:50:10 07/03/04
Go up one level in this thread
Making your engine change the total time of a game manually for few minutes (faster or slower) is all you need, right? You can do that with changing very little bit your code. GUI (WB, Arena) always tell you about the total time left. Whenever your engine receive the command "addtime +/-x" you simply add the value +/-x to this time (you can design two different commands to add to time left of every moves or on one move only). That's all. If your engine manages the time good enough, it will know how to save or spend more few minutes per game. Pham On July 03, 2004 at 13:27:57, Uri Blass wrote: >On July 03, 2004 at 11:15:12, Pham Hong Nguyen wrote: > >>Perhaps you may try Arena? >> >>I see that in the Arena, you can open the debug window (press F4) and enter any >>thing you want to sent it to your engine. Thus, if you add to movei a special >>command such as "addtime +/-x", you can tell your engine to adjust internal >>clock. >> >>Hope that helps and good luck :) >>Pham > >I can also adjust the clock by changing the time control during the game under >arena but as far as I understand the program need to ask actively about the time >and I am not allowed to adjust nothing without it. > >Movei also has no internal clock and it waits for some itnterface to tell it the >time before it gets a move. > >The only knowledge that it remembers about time is the time that it used for the >last move and the time that the interface told it. > >The simplest option in case that I want to play under console mode is not to >implement internal clock but tell the engine to ask for the time immediatly >after every make move. > >I do not like to use Arena and to have internal clock that is different than the >arena clock. > >There are other problems in console mode. >Movei of today will post a lot of analysis or post nothing before it's move. > >In the first case it is going to be a problem to search for the move that may be >hidden not in the screen after a second of analysis. > >Uri
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.