Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Question about Crafty and Bishop Pair

Author: Robert Hyatt

Date: 18:53:05 07/14/04

Go up one level in this thread


On July 13, 2004 at 16:47:28, Renze Steenhuisen wrote:

>
>Does Crafty even value a Bishop pair in one way or the other? I can't find it...
>If not: why not?
>
>Cheers,
>
>  Renze

Always has:


if (WhiteBishops & (WhiteBishops - 1))
      score += bishop_pair[TotalWhitePawns];

The WhiteBishops & (WhiteBishops - 1) produces a non-zero value only if there
are at least two bits set in WhiteBishops...




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.