moves_scoresheet {chess2plyrs} | R Documentation |
moves_scoresheet
Description
Creates move scorelist, in scientific notation
Usage
moves_scoresheet(game, shortnotation = TRUE)
Arguments
game |
chess game object (i.e., a list with elements board, turn, history, and fen_history as created by newgame function) |
shortnotation |
Use short scientific notation? TRUE is the default |
Value
moves scoresheet
Examples
g <- newgame() |>
chess_move("p", "e2", "e4") |>
chess_move("p", "e7", "e5") |>
chess_move("N", "g1", "f3") |>
chess_move("N", "b8", "c6") |>
chess_move("B", "f1", "b5") |>
chess_move("N", "g8", "f6") |>
chess_move("K", "e1", "0-0")|>
chess_move("N", "f6", "e4")
moves_scoresheet(g)
[Package chess2plyrs version 0.3.0 Index]