Computer Chess Club Archives


Search

Terms

Messages

Subject: correction

Author: James Swafford

Date: 04:57:39 01/30/02

Go up one level in this thread


My apologies... I see you were asking about 'potential' passed pawns,
which isn't what I described.

--
James


On January 30, 2002 at 07:55:34, James Swafford wrote:

>On January 29, 2002 at 19:55:03, Albert Silver wrote:
>
>>On January 29, 2002 at 12:46:50, Dan Andersson wrote:
>>
>>>Yep! But they are potential passed pawns. Then it depends on if you wish to add
>>>such a factor.
>>>
>>>MvH Dan Andersson
>>
>>Is code on potential passed pawns common? Or is it too costly to be worth it?
>>
>>                                          Albert
>
>It can be done pretty easily with bitmaps (bitboards).  Last night I
>created two arrays of bitmaps - passed_white[64] and passed_black[64].
>passed_white[E4] has 'bits on' for D5->D8, E5->E8, and F5->F8.
>THen AND that with black_pawns to see if a white pawn on E4 is passed.
>
>That worked much better than what I was originally doing, which was
>looking only on the file I was on.
>
>--
>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.