In the case like the above figure, even if the pawn was dropped at the position of 2b, the king should be able to evade to 1a, but 1a is considered to be attacked by the bishop and the king could not move and returned a Uchifuzume error.
I fixed it to judge if the king can evade after considering that the state of occupied_bb is changed by the dropped pawn.
In the case like the above figure, even if the pawn was dropped at the position of
2b
, the king should be able to evade to1a
, but1a
is considered to be attacked by the bishop and the king could not move and returned aUchifuzume
error. I fixed it to judge if the king can evade after considering that the state ofoccupied_bb
is changed by the dropped pawn.