Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Comparison of board representations

Author: Dann Corbit

Date: 15:36:42 01/22/02

Go up one level in this thread


Why not...

Have a common, internal board representation that you can easily switch to any
other method.

Then:
Use Bitboards when they work best.
Use 0x88 when it works best.
Use mailbox when it works best.
Use an array when it works best.

You could abstract the base class and use virtual functions (the overhead is not
the titanic anchor that many claim it to be).

Or just pick one.

I don't think it matters a whole lot.  I do believe that when everyone has a 64
bit CPU that bitboards will be dominant.  But that is a couple years away yet.



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.