View source: R/parse_gamelog.R
parse_gamelog_score | R Documentation |
evaluate_game()
outputparse_gamelog_score()
is an internal function called by
parse_gamelog()
.
parse_gamelog_score(gamelog, target, depth)
gamelog |
A list of engine output from rbitr's |
target |
A single-element character vector of the output to return. Allowed values are 'score' for the evaluation in centipawns, 'pv' for the principal variation, or 'bestmove' for the best move. |
depth |
(Optional, default = NULL) A single-element integer vector indicating which search depth to return. The value must not be less than 1 or greater than the maximum depth reported by the engine. A value of NULL returns data for the maximum depth. |
Returns the engine's calculated evaluation (score) for each
position in the game. See the documentation for parse_gamelog()
for
full details.
A list of character vectors of the extracted scores for each position.
parse_gamelog()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.