Do these bitboard implementations have a "name" ? The seem to be very common but I haven't seen them specifically named.
Octo-boards?
Code: Select all
U64 BBoard[8];
[0] = occupied (black pieces)
[1] = occupied (white pieces)
[2] = all pawns
[3] = all knights
[4] = all bishops
[5] = all rooks
[6] = all queens
[7] = all kings
or
Tredec boards?
Code: Select all
U64 BBoard[13];
[0] = occupied (all pieces)
[1] = black pawns
[2] = white pawns
[3] = black knights
[4] = white knights
[5] = black bishops
[6] = white bishops
[7] = black rooks
[8] = white rooks
[9] = black queens
[10] = white queens
[11] = black king
[12] = white king
Additional support elements not included .
I've implemented both and find the former faster with copy/make (seems logical, less to copy).