Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Bitboard

Author: Robert Hyatt

Date: 15:05:28 03/26/02

Go up one level in this thread


On March 26, 2002 at 15:43:08, Christophe Drieu wrote:

>Hi, I read several article about bitboard and i understand this is faster to
>have all legal pawn move in one operation for example, but how do you extract
>one move (of all this legal move) to get new position before evaluate it ?
>
>I hope you'll understand my question !


You extract the ID of a single bit using a FirstOne() type of function.  If
you just generated single-square pawn advances then you can easily figure out
the source square after determining the destination square...



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.