View source: R/moves_scoresheet.R
moves_scoresheet | R Documentation |
Creates move scorelist, in scientific notation
moves_scoresheet(game, shortnotation = TRUE)
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 |
moves scoresheet
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.