Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: How do you represent chess boards in your chess programms

Author: KarinsDad

Date: 06:29:37 09/23/99

Go up one level in this thread


I'd use Bitboards if I was you.

You are an experienced programmer, not a newbie programmer.

The concepts are not that hard, but they do take a little study to understand.
However, there are many examples on the net of the basic algorithms both with
and without bitboards.

I think the pet answer for a new chess programmer on this forum has been "use
one of the simple methods" until you figure it out for so long that people
forget that there are experience programmers out there who can pick things up
quickly. I for one would not want to write 20K of code and then find out that I
have to scrap most of it at a later time because I wanted to implement a feature
that slows my engine down to a crawl.

What I did was research the topic quite a bit first before jumping in and
writing code. And from that experience, I decided to try a bunch of different
techniques and not be deadlocked into "standard procedures". You may not want to
go to that level, but I would recommend reading some of the material by Plaat
and others off of the link page here at CCC. Use what is available and write the
best program you can.

KarinsDad :)



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.