In response to my issue here. After spending time poking around the board.legal() function, the solution is actually a very simple addition of one line to the null_move() function:
result.update_pin_info();
There may be more nuance to it than this, but it passes my previous issue and all previous tests still pass.
In response to my issue here. After spending time poking around the board.legal() function, the solution is actually a very simple addition of one line to the null_move() function:
result.update_pin_info();
There may be more nuance to it than this, but it passes my previous issue and all previous tests still pass.