Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Bitboard question

Author: Robert Hyatt

Date: 08:35:20 05/26/02

Go up one level in this thread


On May 25, 2002 at 13:01:10, Gian-Carlo Pascutto wrote:

>On May 25, 2002 at 12:58:58, Russell Reagan wrote:
>
>>I realize that you have to calculate the occupation of the rank/file/diagonal,
>>but calculating the occupation of the rank/file/diagonal involves ray tracing
>
>No
>
>You can do this with some shifting/anding
>
>--
>GCP


And a table-lookup (rotated bitboards).

That is the point of rotation, to avoid the "ray tracing" (all bitboards
avoid this) or complex computation to find where rays are blocked (rotated
bitboards avoid this).



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.