plot_moves: Plot a game

View source: R/moves.R

plot_movesR Documentation

Plot a game

Description

Plot a game

Usage

plot_moves(game, interactive = TRUE, sleep = 1)

Arguments

game

a [chess::game()] object, likely with moves identified

interactive

wait for 'Enter' after each move? Turn off to use in a gif

sleep

how long to wait between moves

Value

'NULL', (invisibly) - called for the side-effect of plotting

Examples

## Not run: 
hikaru <- get_each_player_chessdotcom("hikaru", "202112")
m <- extract_moves_as_game(hikaru[11, ])
plot_moves(m)

## End(Not run)

chessR documentation built on Oct. 5, 2022, 1:07 a.m.