Render a single multiverse board
Arguments
- game
An
mxo_game.- L, t
Integer scalars selecting the board.
- view
One of
"slices"(default ggplot2 facetted by z) or"cube"(interactive plotly 3D scatter).- overlay
One of
"none","top3","heatmap".- rating
Optional rating tibble from
mxo_rate_moves(). WhenNULLandoverlay != "none", the rating is computed on the fly withmethod = "heuristic".- highlight_lines
Optional list of 3-cell win-style lines to draw on top of the board (each element a
list(L, t, idx)triple). Defaults to the win-line if the game is terminal.- ...
Unused. Reserved for future arguments.
Examples
g <- mxo_new_game()
g <- mxo_move(g, "present", 0L, 0L, 0L)
p <- mxo_plot_board(g, L = 0L, t = 0L)
inherits(p, "ggplot")
#> [1] TRUE