The Play-Test Applet would have no problems to generate GAME code that handles the castling and the e.p. capture as desired, when the King's move is defined as KisO2isO3, and the Pawn's move as fmWfceFifmnDifmnH. The promote-to-captured can be requested by prefixing the pieces in the promoChoice string with a *. I am not completely sure whether it would then suppress the highlighting of a Pawn step to last rank if there is nothing to promote too, but in any case it would not accept such a move if the user selected it as destination.
The Play-Test Applet would have no problems to generate GAME code that handles the castling and the e.p. capture as desired, when the King's move is defined as KisO2isO3, and the Pawn's move as fmWfceFifmnDifmnH. The promote-to-captured can be requested by prefixing the pieces in the promoChoice string with a *. I am not completely sure whether it would then suppress the highlighting of a Pawn step to last rank if there is nothing to promote too, but in any case it would not accept such a move if the user selected it as destination.