Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: How do you represent chess boards in your chess programms

Author: Robert Hyatt

Date: 18:26:23 09/29/99

Go up one level in this thread


On September 29, 1999 at 17:28:10, Sven Reichard wrote:

>Bob wrote
>
>>that is what I do in 'rotated bitmaps' in crafty already...
>
>Sorry, then I misunderstood your previous posting.
>
>Sven.


You may have interpreted my description as being how I do this in Crafty.
It wasn't...  the original post said that he wasn't using rotated bitmaps,
yet he seemed to be 2x faster than I am in generating moves... that was why
I was interested...

I explained how I did it before I used rotated bitmaps (looping to find the
4 blocking squares for sliders).  I do everything by table lookups now,
diagonals ranks and files...



This page took 0.06 seconds to execute

Last modified: Thu, 07 Jul 11 08:48:38 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.