Computer Chess Club Archives


Search

Terms

Messages

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

Author: Steve Maughan

Date: 00:26:37 10/22/02

Go up one level in this thread


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



This page took 0.02 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.