Author: Dan Honeycutt
Date: 17:32:00 08/31/04
Go up one level in this thread
On August 31, 2004 at 18:30:40, Uri Blass wrote: >I think that free source that has no chess source but only program that deal >with the winboard commands can be productive. > >The source should include a lot of empty functions(every function that deal with >chess stuff should be empty and there should be only explanation what it is >supposed to do in the source so programmers will be able to deal with chess >stuff). > >For example a function to choose a move and even function that check if a move >of the opponent is legal should be empty when the programmer will need to give >the information because it is chess stuff but function like Read of crafty >should be not empty because exactly the same actions are important for go. > >Read() of crafty copies data from the command_buffer into a local buffer, and >then uses ReadParse to break this command up into tokens for processing. > >Maybe it is possible to take it as part of Crafty's source but I do not like to >figure out exactly what is relevant in Crafty's source for that purpose. > >I think that a program that does it and has some empty functions with exact >definition what the empty function should do can be productive for programmers. > > >Uri Hi Uri: I followed your "fget as waiting loop" thread and I'm only slightly more confused than I was before. Dann Corbit mentioned something a while back about a chess program toolbox. A class with two member functions CommandAvailabel() and GetNextCommand() that deals with all this buffering and pipe peeking would sure be a handy tool. Hint, Hint Dan H.
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.