Author: Frank Schneider
Date: 00:06:07 09/23/99
Go up one level in this thread
Hi, I'd use the 0x88-representation. The board is represented by an array of 128 entrys: 64 squares and 64 'bordersquares' (which are unused). The idea is that a square board[i] is a bordersquare if (0!=(i&0x88)). There are some more nice properties of this representation, see older threads in this forum. Frank
This page took 0.01 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.