Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Djenghis in cct4

Author: Daniel Clausen

Date: 03:06:51 01/17/02

Go up one level in this thread


Hi

On January 17, 2002 at 05:55:49, Sune Fischer wrote:

[a lot snipped]

>And just what is a clone, perhaps there should be a definition of that.
>When is code-reuse just saving time by not reinventing the deep plate, and when
>is it *cloning*?
>Am I cloning if I use Crafty's movegenerator and search extensions?

While it's probably not that easy to come up with a useful definition of
cloning, which the majority accepts, your example sounds rather clear to me.

-if you copy code from someone (like the whole move generator) it's cloning
(you'd also have to copy Bob's board representation etc etc etc)
-if you have a look at Bob's code to see how he handles ep generation or what
kind of search extensions he uses, it's not cloning (afterall that's one reason
why Bob's Crafty is freely available with source, and I'm sure it was helpful to
_many_ chessprogrammers already, me included)

I agree that there can be cases where it's hard to decide, but very often people
use these few hard cases to say that the general case is hard to decide. I think
that 99% of the cases are trivial to decide. (ie in most cases a 'strings
engine_name' is more than enough)

Sargon



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.