Author: Russell Reagan
Date: 11:25:03 01/23/02
Go up one level in this thread
On January 22, 2002 at 23:34:10, Tom Likens wrote: > >Russell, > >I think a better example would be the attack of a knight on the king. >Your example of a bishop attack leaves out the minor :) problem of >interposing pieces between the bishop and the king. Your test reveals >a *potential* attack on the king by an enemy bishop. > >regards, >--tom > That is true, and in practice you would not do it like this. You would do something like computing the diagonal state, and passing that to a lookup table which would give you the appropriate attack bitboard for the bishop. You're right that the knight example probably would have been better to explain the underlying concept of how this works. Russell
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.