2 ms·
Replying to my own post: it seems each move can be packed into 8 bits in all but a few rare scenarios such as having many promoted pawns as queens on the board.
by jiggawatts 3y ago
Replying to my own post: it seems each move can be packed into 8 bits in all but a few rare scenarios such as having many promoted pawns as queens on the board.
See: https://www.chessprogramming.org/Encoding_Moves#Per_Piece_and_Square https://www.chessprogramming.org/Encoding_Moves#Per_Piece_an...