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
This means that an action can only be referenced to by supplying the fromSquare, toSquare in Algebraic Notation, and the optional promotionPieceType.
This is fine and unambiguous, but in some cases the caller will only have the action in some notation, and there's no good reason not to support this use case.
One way to support this is having optional properties for each notation, e.g.:
Currently,
InputAction
looks like this:This means that an action can only be referenced to by supplying the
fromSquare, toSquare
in Algebraic Notation, and the optionalpromotionPieceType
.This is fine and unambiguous, but in some cases the caller will only have the action in some notation, and there's no good reason not to support this use case.
One way to support this is having optional properties for each notation, e.g.:
The text was updated successfully, but these errors were encountered: