san2lan: Movetext conversion from SAN to LAN

Description Usage Arguments Value Examples

View source: R/san2lan.R

Description

Convert SAN movetext (FIDE) to LAN movetext (used by chess engines)

Usage

1
san2lan(movetext.san)

Arguments

movetext.san

movetext string in standard algebraic notation (SAN) required by FIDE, but without comments, variants etc.

Value

movetext in long algebraic notation

Examples

1
san2lan("1. e4 e5 2. Nf3 Nf5 3. d5 ")

rosawojciech/bigchess documentation built on Jan. 19, 2021, 5:54 a.m.