Author: Tom Kerrigan
Date: 09:55:18 02/22/00
Go up one level in this thread
On February 22, 2000 at 10:05:33, blass uri wrote:
>void init()
>{
> int i;
> for (i=0;i<63;i++)
> board[i]=initboard[i];
>}
You'll also want to initialize color[] here. And with this loop statement, you
will only initialize elements 0..62, not 0..63 as you probably intend.
-Tom
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.