lan2san: Movetext conversion from LAN to SAN

Description Usage Arguments Value Examples

View source: R/lan2san.R

Description

Convert LAN movetext (long algebraic notation used by chess engines) to SAN movetext (standard algebraic notation required by FIDE)

Usage

1
lan2san(movetext.lan)

Arguments

movetext.lan

movetext string in long algebraic notation (LAN), but without comments, variants etc.

Value

movetext in standard algebraic notation

Examples

1
lan2san("e2e4 c7c5")

Example output

Warning message:
In file(con, "r") : cannot open file '/proc/stat': Permission denied
[1] "1. e4 c5"

bigchess documentation built on Aug. 5, 2020, 5:09 p.m.