n_moves {bigchess} | R Documentation |
Compute number of moves
Description
Compute total number of moves given movetext string (or string vector)
Usage
n_moves(movetext)
Arguments
movetext |
movetext string (or string vector) |
Value
n integer (or integer vector)
Examples
n_moves(c("1. e4 e5 2. Nf3 Nf5 3. d5 ","1. d4 d5"))
# 3 1
[Package bigchess version 1.9.1 Index]