|
I had a idea which, if I understand your problem, might help you implement this feature. Whenever a pawn moves forward two squares, a 'ghost' piece should be put on the square the pawn passes over. The piece would exist only for one-half move, and would not be displayed. This would allow you to show en passant as a valid pawn move. Other pieces would need to ignore this 'ghost' piece. |