Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Bitboards and evaluation?

Author: James Robertson

Date: 13:00:11 10/06/98

Go up one level in this thread


On October 06, 1998 at 15:06:32, John Coffey wrote:

>It seems to me that you get limited information from  bitboards.  You
>can find out if any white pieces attack black pieces and vice-a-versa.
>
>What if you want to know who has the greatest mobility?  (i.e. the most
>number of legal moves)  You would have to count bits would you not?
>Is there a fast way to count bits by have table look ups?  (i.e.
>take 16 bits at a time and look up the bit count in a table?)

That is the way Arasan does it. However, Crafty uses an ingenious method, which
I borrowed (I love tricks I can barely understand). :)

>
>If you want to know who controls the most squares around an enemy king then you
>would have to count bits again?
>
>If you wanted to know who controlled what squares, then it would seem that
>you would be out of luck with bitboards.
>
>John Coffey



This page took 0.45 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.