I am writing a program. A tool of analysis for endgames.
I have a problem has write the part of code for the movement: the pawn capture: "en-passant".
In this circumstances, "en-passant" move, I over has produce a movement and verify the legality of it, I must also remember me the latest moved of the opposite color,and work also with this value of variable. It is more difficult than the normal movements.
Know some people, some reference?
How to write "en-passant" move code?
Moderators: Harvey Williamson, Watchman