Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: CountBits() Function

Author: James Robertson

Date: 23:30:08 01/06/99

Go up one level in this thread


On January 06, 1999 at 23:42:37, KarinsDad wrote:

>I was reading all of the posts on the CountBits() function and couldn't for the
>life of me, figure out where I would need it.
>
>As I was working on my evaluator tonight, I suddenly realized, DUH.
>
>Thanks for all of the good information there guys!
>
>Is there anywhere else that it is used?
>
>Thanks again,
>
>KarinsDad :)

I also use BitCount() in my check evasion function. It counts the number of
attackers attacking the king, which really helps decide my check evasion
options. :)

James



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.