Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Newbie Programming Question

Author: David Mitchell

Date: 19:20:56 05/04/05

Go up one level in this thread


>On May 04, 2005 at 04:43:32, Daniel Shawul wrote:

>>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

Your "preliminary research" must have been VERY preliminary, or you'd have found
out that most freeware chess programs run in (DOS) console mode, with a very
rudimentary display of the position and board, when run w/o their GUI interface.
Oh my! %-D

Good luck!

Dave






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.