You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When moving a pawn to a promotion square, if the move is made without including a promotion option, the move will throw an error. However, .moves() shows it as a legal move.
Recommended solution
A different error should be thrown if a pawn is moved to a promotion square without providing a promotion argument. That way, the error can be caught and handled in the UI.
The text was updated successfully, but these errors were encountered:
When moving a pawn to a promotion square, if the move is made without including a promotion option, the move will throw an error. However,
.moves()
shows it as a legal move.Recommended solution
A different error should be thrown if a pawn is moved to a promotion square without providing a promotion argument. That way, the error can be caught and handled in the UI.
The text was updated successfully, but these errors were encountered: