Author: David Rasmussen
Date: 20:01:53 01/09/02
Go up one level in this thread
On January 09, 2002 at 22:52:10, Pham Minh Tri wrote: > >I agree that is a good idea. But how do you implement it in simple way? I am >afraid that that code is more expensive than Crafty code ;) > It depends on your data structures and your representation. I use bitboards, and I just added a recapture extension like this. It's pretty simple for me, as I just use my AttacksTo() function to see if there are other attackers to this square than the one that recaptured. AttacksTo() is just a check for each type of piece if such a piece attacks the given square. /David
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.