lan_to_boards: Convert UCI LAN to a list of boards

View source: R/lan_to_boards.R

lan_to_boardsR Documentation

Convert UCI LAN to a list of boards

Description

This function takes a string of moves in UCI LAN (Long Algebraic Notation) and converts it into a list of boards. Each board represents the state of the game after each move.

Usage

lan_to_boards(lan)

Arguments

lan

A string of chess moves in UCI LAN.

Value

A list of boards representing the state of the game after each move.

Examples

lan_to_boards("e2e4 e7e5 g1f3 b8c6 f1b5")

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