Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Robert, I wasn't going to look at the Crafty source

Author: Robert Hyatt

Date: 06:15:35 01/27/99

Go up one level in this thread


On January 27, 1999 at 01:05:21, KarinsDad wrote:

>On January 26, 1999 at 22:23:26, Robert Hyatt wrote:
>
>>On January 26, 1999 at 18:59:34, KarinsDad wrote:
>>
>>>On January 26, 1999 at 09:33:36, Robert Hyatt wrote:
>>>
>>>[snip]
>>>
>>>>
>>>>
>>>>that's the purpose of main.c... but I get about 1 email every 2 months asking
>>>>'how do I make the "null-move search" work?'... I can direct them to the top
>>>>of search.c where I do that stuff in about 10 lines and I always get back "aha,
>>>>simple once I see the code.  the explanation is much more complex to follow."
>>>>So the source code can help in many cases...  ie 'how do you handle draws by
>>>>repetition?'  That is easy to see in search.c too, as is 'how / where do you
>>>>probe the hash table and how do you use the results?'
>>>>
>>>>
>>>>
>>>
>>>Robert,
>>>
>>>I wasn't going to look at the Crafty source in order to not be influenced, but
>>>if it is really commented well enough that I can read it and get the same
>>>information concerning a technique as I could from you here, heck, I might as
>>>well do it (and I promise not to critique, well, maybe just a little ;) ).
>>>
>>>I'll let you know how it works out (probably this weekend).
>>>
>>>KarinsDad :)
>>>
>>>[snip]
>>
>>
>>It is about 50,000 lines of code.  At least 1/3 and maybe as much as 1/2 are
>>comments...
>>
>>Bob
>
>Cool! Better percentage than my code.
>
>KarinsDad


Told you I've been doing this for 30+ years now.  _nothing_ worse than to try
to make a change to something and you can't remember how that 'something' does
what it does.

:)



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.