Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Question for Gerd: reduce rbb lookup tables

Author: Russell Reagan

Date: 15:26:58 07/15/03

Go up one level in this thread


On July 15, 2003 at 16:03:10, Tim Foden wrote:

Wow Tim, that is too cool! I really got thrown for a loop when I saw this:

>    UINT64  bitmap = (ExtVert(movesA) & DiagAMask(a)) |
>                     (ExtVert(movesH) & DiagHMask(h));

I couldn't figure out how you were getting diagonal attacks from the "vertical"
table. Anyway, it "clicked" finally. My coworkers probably think I'm crazy now
because I've been sketching bitboards on paper for the last half hour, and now I
have a big grin on my face :)

A few other things. I remember in the Winboard forum you posted some code
involving CPosition (http://f11.parsimony.net/forum16635/messages/50247.htm),
and in your example here you use CBoard. I was wondering what the difference
between CPosition and CBoard is. My guess would be CPosition contains a board,
along with extras like fifty move counter, en passant square, etc. ? Or is
CBoard something new in your new program? BTW, is your new program going to be a
new version of GLC, or a new program entirely?

Thanks,
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.