used calc_occupancy and calc_piece_board methods in the initial state constructor

This commit is contained in:
Varga Dávid Lajos
2025-11-15 10:07:23 +01:00
parent c88fbe68e3
commit 11f26809df

View File

@@ -47,6 +47,9 @@ impl Board {
en_passant_square: 0x0000_0000_0000_0000,
side_to_move: 0
};
bit_board.calc_occupancy();
bit_board.calc_piece_board();
return bit_board;
}