Computer Chess Club Archives


Search

Terms

Messages

Subject: current thoughts on piece lists

Author: Tom Kerrigan

Date: 10:52:58 07/08/98


I'm starting to think that the best way to do this is as follows:

int piece_list[2][16];
int piece_count[2];
int pawn_list[2][8];
int pawn_count[2];

The two-dimensional arrays wave a red flag at me, but I'm not sure anything can
be done to avoid them...

Comments?

Cheers,
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.