Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Starting a new chess program(again), need help

Author: Steffen Jakob

Date: 22:09:10 03/29/99

Go up one level in this thread


On March 29, 1999 at 18:03:44, Peter Kasinski wrote:

>On March 29, 1999 at 17:49:31, Derrick Gatewood wrote:
>
>>A couple of months ago I was so intrigued by computer chess programs and having
>>a small background with C++ I began to write my own program.  I have to say one
>>thing,  my programming skills are comparable to the ability of a dog trying to
>>beat crafty...  I am not that great.   I began my program with a 64 array.  and
>>had the values of the pieces in the array with 0 representing an empty square..
>>So far,  so good.  I then programmed all the legal moves for the pieces.  Then
>>here is where my lack of knowledge comes into place...  I made it to where the
>>search function is no actually a function,  it is just a bunch of if, then,
>>statements...  So it played a random game of chess,  but no real search.  I soon
>>became sick of this,  errrr,  program.  I trashed that whole project.  I am now
>>starting from scratch.  I was wondering if there are any web pages or books out
>>there that will guide you from the beginning to the completion of a program.  I
>>dont want to look at any source in fear that I will copy...  I dont want to do
>>it this way.  Please,  any responses will be greatly appreciated.
>>Thanks all.
>
>
>Please take a look at Tom Kerrigan's "The Simple Chess Program".
>I have found it to be a great starting point.
>
>You can download it from Tom's page:
>http://ucsu.colorado.edu/~kerrigat/tscp13.zip

Although TSCP is definitely a great contribution by Tom I wouldn't suggest to
simply copy TSCP and start to work on your program by modifying the TSCP source.
It's better to study and _understand_ what Tom did and then to write your
program from scratch. It's essential that you really understand what you are
doing. TSCP hasnt important features like hashing or null moves.

It will take some time until you have a basic engine which is able to play legal
chess. Next you should have a look at the Crafty source which is very well
documented... but as I said... it will take some until you get to this point.

Good luck... and see you in the u2600 club,
Steffen.



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.