Author: Bas Hamstra
Date: 13:13:21 12/23/02
Gerd, Those fill routines are really neat. I have a few tiny enhancements and am working on more. How about this: // determine where white pawns can go safely, with a floodfill up: WSafePath = FFillUp(WPawns, ~(AllPawns|BDominated) ); // now we can calc "pawn-defendable" more accurately: WDefendable = ((WPawnAttacksRight >> 16) & WSafePath) << 7 | ((WPawnAttacksLeft >> 16) & WSafePath) << 9 ; // to be used in backward pawns: WBackWard = ((~AllPawns & BDominated) >> 8) & WPawns & ~WDefendable; Best regards, Bas.
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.