Author: Tom Kerrigan
Date: 10:23:28 02/11/00
Go up one level in this thread
Interesting... I didn't think much about condensing the lists. It seems like you can have 16 pieces if nothing gets captured and all your pawns promote. And you can have 8 pawns. So I was going to do my piece list like this: int piece_list[52]; piece_list[0] is a 0-terminated list of white pieces. piece_list[17] is a 0-terminated list of white pawns. etc. Comments? -Tom
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.