Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Help on bitboards

Author: Tom Likens

Date: 05:48:19 12/25/03

Go up one level in this thread


On December 25, 2003 at 04:08:57, Alessandro Damiani wrote:

>>I guess someone also might choose to have a8=0, b8=1, and h1=63, because then
>>when you output the board you just go from 0 to 63 and it outputs the squares
>>correctly.
>
>That's the way I do it.
>
>>I don't think there is any "right" way to do this. Just choose whatever makes
>>the most sense to you so that things like rotated bitboards will be easier for
>>you to understand.
>
>I never used rotated bitboards, but rotated indices. These are simpler.
>
>Alessandro

Hello Alessandro,

I also map the board as you do (a8=LSB ... h1=MSB) which gives us a common
frame of reference.  How do rotated indices differ from rotated bitboards?

regards,
--tom



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.