Author: Dann Corbit
Date: 17:45:29 06/15/00
Go up one level in this thread
On June 15, 2000 at 03:35:05, Bradley Woodward wrote:
>>If you could email it to me, that would be great. I'll compare it to what I
>>come
>>up with and see what cool things you have done. My email is
>>jrobertson@newmail.net.
>
>Don't need to - i've put it on my web site. You'll find the source at
>http://www.sweenytod.com/beadle.zip. Help yourself.
>
>Don't be too harsh - it was my first go at chess programming. :)
Suggestion:
Make the following change:
char *PieceName(int iPieceType)
{
return iPieceType > 0 && iPieceType < 6 ? PieceNamesArray[iPieceType] :
"Invalid Piece";
}
As is, your program exhibits undefined behavior.
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.