Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Yet another bitboard question (YABQ)

Author: Sune Fischer

Date: 00:38:25 08/04/02

Go up one level in this thread


On August 03, 2002 at 22:28:18, Russell Reagan wrote:

>Thanks Bob and Sune. I wasn't thinking that far ahead and was thinking there was
>a shortcut. It's not like one additional AND operation is going kill performance
>:)
>
>Russell

You hardly ever need to mask out the friendly pieces actually. Usually you
generate captures, in which case you AND with the opponents pieces, or you will
want the non-captures in which case you AND with the complement of all occupied
pieces. Both operations automaticly removes the friendly pieces :)

-S.



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.