Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Need help with nearest bit algorithm

Author: Russell Reagan

Date: 18:10:08 01/10/04

Go up one level in this thread


On January 10, 2004 at 20:45:32, Chris Hull wrote:

>I want to use this for sliding attacks in my bitboards. The bits represent
>pieces so I want to know the nearest piece to the rook.

Interesting. If you have two bitboards with a single bit set, how will you
compute attacks from that?

Also, have you tried other approaches like rotated bitboards 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.