Skip to contents

Accepts either a tibble (as produced by mxo_win_prob_curve() with columns ply, player, win_prob) or an mxo_game_record from mxo_self_play().

Usage

mxo_plot_win_prob(source, ...)

Arguments

source

A tibble or mxo_game_record.

...

Unused. Reserved for future arguments.

Value

A ggplot object.

Examples

rec <- mxo_self_play(mxo_policy("random"), mxo_policy("random"),
                     config = mxo_config_default(n = 3L, ply_cap = 8L),
                     seed = 1L)
mxo_plot_win_prob(rec)