Play a game with autoplay
Usage
autoplay_game(
state = new_game(),
strategy = "lookahead",
max_moves = 1000L,
keep_states = FALSE,
...
)Arguments
- state
Initial game state.
- strategy
Strategy passed to
autoplay_move().- max_moves
Maximum number of moves to play.
- keep_states
If
TRUE, include each intermediate state in the result.- ...
Additional arguments passed to
autoplay_move().