Author: Mike Byrne
Date: 18:45:34 05/25/04
Go up one level in this thread
On May 25, 2004 at 21:22:42, Robert Hyatt wrote: >On May 25, 2004 at 20:47:11, Mike Byrne wrote: > >>The UCI specs say : >> >>* all command strings the engine receives will end with '\n', >> >>Yet, Arena sends the double command "go movetime xxxx" -> I'm just wondering >>why Arena insists on sending the go and movetime on one line - also - shouldn't >>the command "movetime" be sent before the "go" command" ? >> >>It also sends the command "position startpos moves e2e4 e7e5 g1f3 <etc>" >> >>So the startpos == "setboard rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w >>KQkq" I am not sure the best way to get Crafty to read the moves in within the >>current Crafty commands. Any suggestions > > >This is non-trivial. The UCI protocol gives lots of control to the GUI and it >is very difficult to remove part of this "control" from the Crafty engine >itself... I think I just might just keep using the adapter written by Odd Gunnar Malin , which does an amazingly fine job. He takes that ""position startpos moves e2e4 e7e5 g1f3 <etc>" through tha adpater and just sends the Crafty the move it expects. The UCI protocol is more quirky than I realized, e.g., it must send the ponder command for every move, an engine does not ponder unless specifically directed by the GUI. It sends the entire move history for every move. In fact the engine is not supposed to anything until the GUI tells it to. Crafty is able to break a lot of the UCI rules and still work - but it is only because of the adapter Odd Gunnar wrote - to make Crafty UCI compliant seems to be more than I bargained for. I'm not a programmer and this is not something I want to spend a lot of time. Hats off to Odd Gunnar for writing such a well working adapter.
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.