Author: Bas Hamstra
Date: 18:34:04 07/02/00
Go up one level in this thread
On July 02, 2000 at 18:07:25, Larry Griffiths wrote: >On July 02, 2000 at 16:05:48, Robert Hyatt wrote: > >>On July 02, 2000 at 13:24:35, Larry Griffiths wrote: >> >>>Bob, >>> >>>Are the RL90, RR45, and RL45 bitboards only maintained for occupied squares? >>> >>>Larry. >> >> >>Yes... they are only used to determine the 'state' of a rank/file/diagonal, >>they aren't needed for anything else??? > >That is what I thought... > >Then I will have a bitboard for each type of piece... >6 bitboards for black pieces pawn,knight,bishop,rook,queen,king... >6 bitboards for white pieces pawn,knight,bishop,rook,queen,king... >4 bitboards for occupied squares... >1 bitboard for all black piece types... >1 bitboard for all white piece types... > >and a move of a black pawn would update the > black pawn bitboard > all 4 occupied square bitboards (rank,file,Leftdiag,RightDiag) > the all black piece types bitboard... Yes, that's how to do it.
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.