Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: question about ReadPGN of Crafty

Author: Robert Hyatt

Date: 18:53:10 09/20/04

Go up one level in this thread


On September 20, 2004 at 19:40:23, Uri Blass wrote:

>I see that Crafty handle FEN by the following  command
>
>else if (strstr(input_buffer,"FEN"))
>		{
>          sprintf(buffer,"setboard %s",value);
>          (void) Option(local[0]);
>          continue;
>        }
>        return(1);
>
>I do not understand what it exactly does and what does Option (local[0]) does.
>
>Uri



This just executes option(), passing it a command of "setboard ..." to set the
starting position.  local[0] is the "master copy" of the search state, you can
ignore that completely since it has to do with threads and local data...




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.