Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Bitboard question

Author: Leen Ammeraal

Date: 09:42:44 05/25/02

Go up one level in this thread


On May 25, 2002 at 11:21:40, Vincent Diepeveen wrote:

>>
>Now let's try to get the NUMBER of attackers at a square.
>
>In DIEP this is:
>
>   numberofattackers = Attacks[side][sq] & 15;
>

Vincent,

Do you keep track of which pieces attack square sq?
If so, how?
For example, a white pawn attacking sq is not equivalent
to a white queen attacking it.

Leen



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.