Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Bit boards in Shogi?

Author: James Robertson

Date: 23:20:13 08/28/98

Go up one level in this thread


On August 29, 1998 at 00:30:44, David Eppstein wrote:

>On August 28, 1998 at 18:06:49, Robert Hyatt wrote:
>>On August 28, 1998 at 16:50:31, David Eppstein wrote:
>>>I think this power of two thing is a red herring. Even for an 8x8 board you
>>>have to mask so your pieces don't think they can wrap around from one side
>>>of the board to the other.
>>You really don't have to do this...  IE I have *no* such masks in Crafty.
>
>Oh no?
>What is this:
>
>(line 167 of movgen.c)
>    pcapturesr=And(Shiftr(And(WhitePawns,mask_right_edge),9),target);
>
>If it's not a mask, why do you call it mask_right_edge?

I think Mr. Hyatt was talking about *precomputed* attack data, i.e. Bishops and
Queens.



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.