View source: R/lan_to_coordinates.R
lan_to_coordinates | R Documentation |
Convert a chess move in long algebraic notation to coordinates
lan_to_coordinates(lan)
lan |
A string representing a chess move in UCI long algebraic notation (e.g., "e2e4", "e7e8q"). |
A list containing the original coordinates, destination coordinates, and the promoted piece (if any).
lan_to_coordinates("e2e4")
lan_to_coordinates("e7e8q")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.