Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Bitboard engine authors question

Author: Russell Reagan

Date: 15:31:23 09/23/02

Go up one level in this thread


On September 23, 2002 at 15:30:49, Robert Hyatt wrote:

>On September 23, 2002 at 15:13:44, Russell Reagan wrote:
>
>>My bitboard representation uses bit 0 as a1, and bit 63 as h8. I would like to
>>know if others do this differently. Thanks.
>>
>>Russell
>
>That is what I use.   I don't think it matters at all and I chose that
>representation so that I could "visualize" the board easier.

I don't think it matters either, but I'm writing a little tool to help me create
and manipulate bitboards so I can point and click to turn squares, ranks, files,
and diagonals "on" or "off" and quickly get it's hex or decimal equivalent for
use in my program. I figured there are others who use different bit
representations than I. I suppose some might even use the top 4 bytes for white
squares and the bottom for black squares to make bishops more efficient on
32-bit machines, although that might make rotated bitboards awkward. Anyway, I
just thought I'd ask before I took the extra time to make this tool configurable
so others could use it if they desired.

Now's the time to submit your feature requests! :)

Russell



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.