Author: Tom Kerrigan
Date: 16:47:26 01/26/02
Go up one level in this thread
typedef struct { ... } piece_t; // info about a piece
int board[128]; // colors on the left, piece types on the right
piece_t piece[2][16]; // piece lists for both sides
int pieces[2]; // number of entries in the lists
piece_t pawns[2][8]; // pawn lists
int pawns[2];
piece_t *plist[128]; // pointer to the appropriate piece_t for each square on
the board
-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.