logic- bug- related:
During check: the checking piece is allowed to hop past (behind) the king, but when making this step, and then undoing this action - the logics works properly again and the player is NOT allowed to make this step again.
Notice the white queen can take out the horse behind the king

Same story for the other player, different position:

After making this (normally) unallowed step, and undoing this move the following happens:

One more example using a different piece:

undo -> retry:

logic- bug- related:
During check: the checking piece is allowed to hop past (behind) the king, but when making this step, and then undoing this action - the logics works properly again and the player is NOT allowed to make this step again.
Notice the white queen can take out the horse behind the king

Same story for the other player, different position:

After making this (normally) unallowed step, and undoing this move the following happens:

One more example using a different piece:

undo -> retry:
