Computer Chess Club Archives




Subject: Re: chess engines writen in C

Author: Dann Corbit

Date: 11:03:58 01/13/05

Go up one level in this thread

On January 13, 2005 at 13:24:44, Pallav Nawani wrote:

>On January 13, 2005 at 05:57:08, adam wilks wrote:
>>Where can i find some examples of chess engines written in C, C ++?
>Check out Wbec Ridderkerk:
>Select engines & their downloads from the dropdown boxes. Some of the engines
>with source are:
>Tscp (Beginners),
>Faile (recommended read),
>Gerbil(recommended read),
>Sjeng Free (Modified Faile),
>Natwarlal (My own, C++),
>Phalanx (Agressive, good engine but somewhat hard to read code),
>Fruit (Excellent, strong engine),
>Crafty (Get from Peter skinner's website).
>GES (New, interesting engine)
>GNu Chess
>If you are planning to read sources of others engines, Faile, Gerbil, Fruit and
>Crafty are a must read.

Sadly, some of the most beautiful ones are not open source.  Tao, by Bas
Hamstra, has code that is so pretty it could make you weep.  The fragments that
I have seen for Thinker show genius at work.  The 0x88 move generator for List
is clearly a work of art.  I have never seen its equal.

I think Amy and Pepito are "must read" code bases.

GnuChess is worth perusing.

I think that MSCP is very good for the raw beginner.

For fun, Chest by Heiner Marxen (not a chess program but a chess solver) should
be examined.  It has lots of clever things that took me years to appreciate.

I learned something from every chess program I ever read.

Same thing for every chess paper.

These are [most of] my directories of chess related source code (not every
single one has source, but almost all of them do.  Also, not all of them are
directly about chess but are involved in some other aspect of game tree search
or chess programming or some related topic):
[Chess ASP]
[Chess Starter]
[LaserChess GBA]
[Program Basic]
[ThorsHammer 2.2 source]
[V4 Chess - once & for all]

This page took 8.5 seconds to execute

Last modified: Thu, 07 Jul 11 08:48:38 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.