Proves full replayability from history alone (rules §11).
Arguments
- history
A list of ply records, in order, of the form produced by
mxo_move().- config
A configuration list (
list(n, d_spatial, k, ply_cap, max_timelines)).
Examples
g <- mxo_new_game()
g <- mxo_move(g, "present", 0L, 0L, 0L)
identical(mxo_replay(g$history, g$config)$boards, g$boards)
#> [1] TRUE