Computer Chess Club Archives


Search

Terms

Messages

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

Author: Will Singleton

Date: 15:13:12 09/22/99

Go up one level in this thread



On September 22, 1999 at 15:30:36, Brian Nielsen wrote:

>
>Hi
>
>My name is Brian, i was thinking about writing a chess engine for fun.
>I am pretty experienced programmer/developper(c++,delpie), but have not been
>programming games, thoug i have made a packman clone a couple years ago.
>
>I have done a little research myself to get the principles in making a chess
>engine/program, and i think i now have basic understanding in how to(i hope :-))
>
>i am curious in how you chessgame programmers represent the chessboard, I have
>seen 4-5 different examples/ways in how to do it, how do you do it and why ??
>
>Second how long time does it take to make a basic engine! from scratch
>provided that i am a experienced programmer.
>
>Best regards
>
>Brian Nielsen


I also use a simple array for the 64 squares.  If you do this from scratch, it
might take quite a bit longer than you think, due to all the fun you'll be
having figuring out new and improved ways to do things that don't really work.
You could always use TSCP as a start.  I actually wish I had done that, rather
than going from scratch.

Will



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.