lan_to_fen: Convert a series of moves in long algebraic notation to a FEN...

View source: R/lan_to_fen.R

lan_to_fenR Documentation

Convert a series of moves in long algebraic notation to a FEN string

Description

Convert a series of moves in long algebraic notation to a FEN string

Usage

lan_to_fen(lan)

Arguments

lan

A string representing a series of chess moves in UCI long algebraic notation (e.g., "e2e4 e7e5 g1f3").

Value

A string representing the final position after the series of moves in FEN format.

Examples

lan_to_fen("e2e4 e7e5 g1f3")

dryguy/rbitr documentation built on Oct. 15, 2024, 6:18 a.m.