Author: Michael Yee
Date: 09:29:44 03/14/05
Go up one level in this thread
On March 13, 2005 at 19:05:08, Harald Lüßen wrote: >On March 12, 2005 at 21:08:58, Michael Yee wrote: > >>The main design goals were: >> >>- engine gets control over all aspects of the game of chess (e.g., draws, >>resign) > >That is fair. > >>- easy for users >>- easy for engine programmers > >I like this. > >>- easy for gui programmers >>- (somewhat) extensible >> >>You can view the proposed protocol here: >> >>http://web.mit.edu/myee/www/chess/xci1.html > >After a quick review at midnight: > >- Can you please make it absolutely clear which commands from the GUI >and from the engine should do what in every state. What are the >transitions between states. There should be a complete graph or >table of a state machine. Done (except for a nice figure)... Now I think the only remaining ambiguity in the draft is that some sub-options are not compatible with each other (e.g., "go ponder infinite"), although they're pretty clear. > >- Just a question, not a suggestion: does it make sense to have >a learning state after the end of a game and before waiting again? > That's the main purpose of the "result" command. After the GUI sends it to the engine, the engine can do book learning or whatever (while technically still in the WAIT state). When the GUI needs to make sure the engine is ready for a new game, it will send "isready" and wait for the engine's "readyok" response. I should mention that there are several "hidden" states that I didn't specify: init, learn (after result), settingoption, etc. These things should typically be quick (except maybe for init), so I didn't bother to make them full-fledged states. >- When do the increment seconds come into play? before the move or >after the move? Can the flag fall and i loose with -2 seconds >before getting 5 seconds bonus making + 3 seconds? >Can the engine use the time that is not not used in the next >time control or not? If there are many possibilities, make the >time or level commands very exact. >Can the time control be changed during a game? > Increment gets added before the current move. About changing time controls during a game... Giving a new level command could have the following interpretation: it would be as if a new game was starting from the current position (all previous time info would be reset). (In fact, we could adopt the convention that after every level command, a position command will come before any go command.) I don't really see a need for it, though, if the level command is general enough. >Harald Thanks for all your feedback! Michael
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.