Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: What constitutes a clone?

Author: Roman Hartmann

Date: 07:44:04 02/16/05

Go up one level in this thread


On February 16, 2005 at 04:38:27, Andreas Guettinger wrote:

>I would recommend to start with a blank page. Starting from a given (freeware)
>program for me is cloning. I also don't take a short story, write ten chapters
>of my own and sell it as a book.

I do agree that a chess engine should be written from scratch. Recyclcling
existing source parts from third parties is kind of cheating IMO. After all it's
a hobby (for most people here) and working on that project should be fun.

>If you look at code of other available engines to take over ideas is perfectly
>ok for me. However, never copy 'n' paste, never take over tables and arrays of
>evaluation data.
>
>When you write a chess engine, it's normal to start 3 - 5 times again from the
>beginning and rewrite your whole code due to change of important data
>structures, etc. This makes code quite unique.

Fully agree here. Even though my engine isn't even finished my current source
files have about nothing in common anymore with the first ones I wrote more than
a year ago. I doubt that would be the case if I just took parts of other engines
and used them.
I always thought I'm slow because it took me about 8-9 months only to have a
fully working move generator :)

>Do no optimize-cloning. Normally the routines of a major chess playing program
>(like i.e crafty) are faster than the ones written by yourself. Just live with
>it, leave it for later or try to find the bottleneck.

>For me, writing a decent playing chess program as a hobby project (maybe
>different if you do it for your thesis or as a professional) takes at least 3-5
>years. All engines that develop faster for me are highly suspicious.

I tend to agree there too but only to a certain degree. Some people might be
programming quietly (maybe only reading here) on their engine (maybe for years)
and only go public if they have a fully working engine.

>Just my two cents.
>(programming since 3 years and it still sucks) Andy

Well, I'm glad that my engine isn't open source. The sources are such a mess ...

Roman



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.