snoot.org message board: en passant (zoom)

[ back | refresh | last 25 | post new ]

en passant
[38772] by "Anonymous" (dsl081-227-165.chi1.dsl.speakeasy.net)   on Mon 21 Jun 2004 21:51:15     reply ] [ top ]
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.