Author: Alessandro Scotti
Date: 23:16:23 12/05/05
Go up one level in this thread
On December 05, 2005 at 23:24:52, Zappa wrote: >I am getting really, really tired of coding all my evaluation twice (once for >white and once for black). However, one of the things that is keeping me from >switching to a for(i < 2) loop is that I can't do a shift! Hi Anthony, would it be possible to compute the required values before entering the loop? Then you can easily access them by index. // Small black/white dependent part... pp[0] = pawns << 8; pp[1] = pawns >> 8; // Color independent stuff... for( ... )
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.