Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: when is a clone a clone?

Author: Tord Romstad

Date: 04:07:43 11/28/03

Go up one level in this thread


On November 28, 2003 at 06:52:45, Odd Gunnar Malin wrote:

>On November 28, 2003 at 06:44:48, Tord Romstad wrote:
>>
>>But still, my 64-bit random number generator is copied directly from
>>Crafty's source code.  Does this make my engine a clone?  If you or
>>somebody else thinks the answer is "yes", I will consider replacing
>>the random number code in my next version, even though it will force
>>my users to download the opening book again.
>>
>>Tord
>
>If you took it as it is without testing, yes I would think so.

That's what I did.  I did not test the code, I have not read Knuth's
book, and I have no idea how the random number code works (I haven't
even tried to read it).

In order to spare my users from having to download the opening book
again:  Would it be acceptable to remove the random number generator
from my engine, and instead use Crafty's random number generator to
create a small binary file of random numbers for use in Zobrist hashing,
and let my engine initialize its tables from this file at startup?  I
would then no longer have any part of Crafty's code in my engine, but
I could still continue to use my old opening book.

Tord



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.