Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: attacks_from[] and attacks_to[] info

Author: Nagendra Singh Tomar

Date: 00:51:17 10/22/02

Go up one level in this thread


On October 22, 2002 at 03:26:37, Steve Maughan wrote:

>Russell,
>
>>In that case, I think it's faster if you generate them when you need them
>>rather than incrementally update them. I generate them on the fly, and so does
>>Dr. Hyatt. We use different methods though. He uses rotated bitboards and I
>>generate them with a few bitwise operations to avoid table lookups altogether.
>>I don't like rotated bitboards very much :)
>
>Interesting.  I use bitboards in Monarch but havew trouble getting the attack_to
>type info without table lookups.  I can see how you could do it for knights,
>pawns and kings but how do woudl you do it for a bishop?
>
>Regards,
>
>Steve

Even I could not figure out an efficient way of updating attacks_to for sliding
pieces
Anybody has any wondeful solutions !!!



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.