Greg Strong wrote on Thu, Mar 26, 2020 10:38 PM UTC:
This seems to work perfectly. You can only promote to captured pieces. Does not offer promotion if none is available. Does not allow pawn move to 10th rank if no promotion is available, but still does give check. Does not allow two different pawns to promote to the same captured piece... Everything I can think to test works correctly.
This seems to work perfectly. You can only promote to captured pieces. Does not offer promotion if none is available. Does not allow pawn move to 10th rank if no promotion is available, but still does give check. Does not allow two different pawns to promote to the same captured piece... Everything I can think to test works correctly.