Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Bit boards in Shogi?

Author: David Eppstein

Date: 21:30:44 08/28/98

Go up one level in this thread


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?



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.