move Of
Creates a Move object from the specified origin and target squares (using Int as the squares types).
Return
the corresponding Move for origin and target squares
Since
1.0.0-beta.1
Author
lunalobos
Parameters
the origin square as an Int
the target square as an Int
Creates a Move object from the specified origin and target squares (using Int as the squares types) and the promotion piece.
Return
the corresponding Move for origin and target squares
Since
1.0.0-beta.1
Author
lunalobos
Parameters
the origin square as an Int
the target square as an Int
the promotion piece as an Int
Throws
for invalid moves
Creates a Move object from the origin square and target square Square enum constants.
Return
the corresponding Move for origina and target squares.
Since
1.0.0-beta.1
Author
lunalobos
Parameters
Creates a Move object from the origin square, target square, and the promotion piece, using Square and Piece enum constants.
Return
the corresponding Move for origin and target squares and promotion piece
Author
lunalobos
Since
1.0.0-beta.1
Parameters
Throws
for invalid moves
Creates a Move object from its UCI notation string (e.g., "e7e8q").
Return
the corresponding Move for the move string
Since
1.0.0-beta.1
Author
lunalobos
Parameters
the move string in UCI notation
Throws
for invalidad move strings