Board representation : Purely bitboard ?
Posted: 17 Aug 2005, 19:12
Hi,
My last engine used an hybrid board representation. It has the twelve usual bitboard (One for every piece type of each sides) and a board[64] array. This last one was used to answer the question : wich piece is on square X. For example this was extensively used in the capture generations functions to get the type of the captured piece.
Is this how you all do this? Or do you use a Purely bitboard board representation?
Also is a piece list usefull, to generates moves without scanning bitboards looking for pieces?
Mathieu Pag
My last engine used an hybrid board representation. It has the twelve usual bitboard (One for every piece type of each sides) and a board[64] array. This last one was used to answer the question : wich piece is on square X. For example this was extensively used in the capture generations functions to get the type of the captured piece.
Is this how you all do this? Or do you use a Purely bitboard board representation?
Also is a piece list usefull, to generates moves without scanning bitboards looking for pieces?
Mathieu Pag