clean_moves: Parse a move string in a machine-readable format.

View source: R/clean_moves.R

clean_movesR Documentation

Parse a move string in a machine-readable format.

Description

UCCI engines require the move string to be clear of punctuation.

Usage

clean_moves(moves)

Arguments

moves

chr vec of length 1

Value

vector of length n where n is the number of moves in the game.


D-Se/xiangqi documentation built on May 12, 2022, 6:06 a.m.