Learn R Programming

bigchess (version 1.9.1)

san2lan: Movetext conversion from SAN to LAN

Description

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

Usage

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

Run this code
# NOT RUN {
san2lan("1. e4 e5 2. Nf3 Nf5 3. d5 ")
# }

Run the code above in your browser using DataLab