Author: Daniel Karlsson
Date: 09:44:20 02/11/00
Go up one level in this thread
I use: WHITE = 0x10 BLACK = 0x20 PAWN = 1 etc... It's very convenient in some places as it only takes a bitwise and to find friendly and enemy pieces. The only disadvantage I can think of is indexing arrays by color.
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.