Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Newbie Programming Question

Author: Daniel Shawul

Date: 01:43:32 05/04/05

Go up one level in this thread


On May 03, 2005 at 21:53:35, Karl Holzinger wrote:

>Howdie all,
>
>I'm trying to get a program off the ground, and was wondering if anyone can
>point me in the direction of some very basic source. I'm looking for something
>that will display the board and its pieces in a dos console window, like:
>
>RNBQKBNR
>PPPPPPPP
>oxoxoxox
>xoxoxoxo
>
>etc...
>
>It should check for legal moves. It doesn't need ai for a computer opponent - I
>will implement that later, though, so appropriate data structures would be nice.
>
   Just start with board[64],and start working on the move generator.
That part take some time before you get it right. It is advisable that you
write a perft function(this simply traverses the tree and counts the number of
nodes visited). check the numbers you get against those given in this page
        http://homepages.caverock.net.nz/~peter/perft.htm
That is more than enough to start with.
daniel

>I've done some preliminary research, and understand the concepts - I'd just like
>this code so I can jump right in.
>
>Thanks in advance,
>
>Mr Kaaaaa



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.