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
At every pawn move the possible en passant square is written to Game.Position.State.enpasant. However, when I want to compare two Position variables, if they are equal, this leads to wrong results. The positions after 1. e4 e5 2. d4 d5 and 1. d4 d5 2. e4 e5 should be exactly the same, however the Position variable is not equal because the respective last move was a different pawn move, even though no en passant is available.
The text was updated successfully, but these errors were encountered:
At every pawn move the possible en passant square is written to
Game.Position.State.enpasant
. However, when I want to compare twoPosition
variables, if they are equal, this leads to wrong results. The positions after1. e4 e5 2. d4 d5
and1. d4 d5 2. e4 e5
should be exactly the same, however thePosition
variable is not equal because the respective last move was a different pawn move, even though no en passant is available.The text was updated successfully, but these errors were encountered: