Computer Chess Club Archives


Search

Terms

Messages

Subject: Help on bitboards

Author: Toni

Date: 18:23:46 12/24/03


Hi all.

I'm starting my chess engine and I'm dealing with bitboards. I find natural to
code the board as:

a8 ... h8
.      .
.      .
.      .
a1 ... h1

so bit0 = h1 and bit 63= a8, viewing the board from white's point of view.

In the literature and in some engines other bitboards are used. For example,
beowulf uses:

h1 ... a1
.      .
.      .
.      .
h8 ... a8

Is there a reason for that?

Regards

Toni




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.