Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Move Generator

Author: Russell Reagan

Date: 05:19:57 12/20/02

Go up one level in this thread


On December 20, 2002 at 08:11:41, Uri Blass wrote:

>the relevant code that I did not understand:
>
>eg. for one direction:
>
>// rooks or queens
>if ( enemyRookMover & allRaysFromSquare[ownKingSquare])
>{ // scan four staight directions
>  dirBB    = getLeftAttacks(ownKingBB) & getRightAttacks(enemyRookMover);
>  pinned  |= dirBB & ownPieces;
>  covered |= dirBB & enemyPieces;
>  ...
>}

Hi Uri,

Do you understand the Kogge-Stone algorithms? If not, we can start there.

Russell



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.