You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that the en-passant indication (E) is not needed.
If a White Pawn unmoves from d6 to e5 (i.e. uci=d6e5) we know that this was a capture (diagonal move). Since the previously captured piece is not given, we can assume an en-passant capture (i.e. e5xd6 e.p.) to undo.
In contrast, if a White Pawn unmoves from d6 to e5 resurrecting a Pawn (i.e. uci=Pd6e5) we know that this was a normal capture (i.e. e5xd6) to undo.
Hey,thanks for the feedback! Indeed it could be stripped, but that would make the rUCI position sensitive (cannot be parsed without a matching board), which was inconvenient to use.
The python code is indeed inactive but pretty much done 😄
I think that the en-passant indication (
E
) is not needed.If a White Pawn unmoves from
d6
toe5
(i.e. uci=d6e5
) we know that this was a capture (diagonal move). Since the previously captured piece is not given, we can assume an en-passant capture (i.e.e5xd6 e.p.
) to undo.In contrast, if a White Pawn unmoves from
d6
toe5
resurrecting a Pawn (i.e. uci=Pd6e5
) we know that this was a normal capture (i.e.e5xd6
) to undo.The same is true for https://github.com/kraktus/retroboard-chess but it seems that the Python code is inactive...
The text was updated successfully, but these errors were encountered: