Computer Chess Club Archives


Search

Terms

Messages

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

Author: Gerd Isenberg

Date: 04:17:19 10/22/02

Go up one level in this thread


On October 22, 2002 at 03:51:17, Nagendra Singh Tomar wrote:

>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 !!!

Steffan Westcott has:

http://www.talkchess.com/forums/1/message.html?259360

Regards,
Gerd



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.