Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Help Elucidating Fruit 2.1 Source Code

Author: Uri Blass

Date: 05:14:32 11/17/05

Go up one level in this thread


On November 17, 2005 at 06:08:51, Michael Neish wrote:

>
>Hi, I haven't posted here in a long while.  I've been running my eyes over the
>source code for Fruit 2.1, and as a result have a couple of questions which I'd
>much appreciate if anyone could answer.
>
>Firstly, is this the code that has been estimated to play at an Elo of around
>2700?

It is the strongest free source code except gambit fruit toga.

>
>If so, at first glance the code looks rather compact compared to that of other
>programs, so what's the secret?  What I mean is, is there anything that the code
>is doing that's significantly different from what others are doing, e.g.
>extensions implemented in a new way, a more effective evaluation function, and
>so on?

I read that it is using hash in a different way.

I think that it also has better evaluation than other free source code programs
and of course history pruning gives it a significant advantage.

I thought about joining a project of commenting fruit source code because there
are a lot of files and I think that there are not enough comments to explain
them see
http://wbforum.volker-pittlik.name/viewtopic.php?t=3219&start=0
but after I saw that nobody except me is interested in it based on no positive
response to my posts in the winboard forum I lost motivation to do it.

Note that I looked in part of the code and I will be happy to help people with
some comments but only if more people join this project.

Without more people if I decide to comment fruit I am going to keep the
knowledge only for myself.

I think that good comments should translate the code to human language and they
do not need to be inside the code.

The model that I like to have is that for every cpp file there is going to be
txt file that explain it
for example fruit has square.cpp and square.h and people who want to read fruit
may do better if they read first square_comments.txt before they look at the
code.

Uri



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.