The engine should have a optional debug logger that can be enabled through a different compilation flag to give better debugging information when issues arise during the legal moves calculation routine. This should consist of information like:
-> what the current depth is
-> what the current board state is
-> whose turn it is
-> what piece is currently being calculated upon
-> what the best move is at any given step in the calculation
-> output of integral bitboards which represent parts of the calculation
all outputted in a readable format.
The engine should have a optional debug logger that can be enabled through a different compilation flag to give better debugging information when issues arise during the legal moves calculation routine. This should consist of information like:
-> what the current depth is
-> what the current board state is
-> whose turn it is
-> what piece is currently being calculated upon
-> what the best move is at any given step in the calculation
-> output of integral bitboards which represent parts of the calculation
all outputted in a readable format.