start_simulation: Initializes gameplay for a single player simulation of Ship,...

Description Usage Arguments See Also Examples

View source: R/simulation_functions.R

Description

Initializes gameplay for a single player simulation of Ship, Captain, Crew

Usage

1
start_simulation(num_games, strategy = "default", multiplayer = FALSE)

Arguments

num_games

the number of games to be simulated

strategy

a character vector containing the player's strategy

multiplayer

a logical vector with default value TRUE, indicating that the simulation is multiplayer

See Also

Other simulation functions: multiplayer_simulation, reset_simulation

Examples

1
## Not run: start_simulation(10, "greedy")

jormacmoo/shipcapcrew documentation built on Dec. 26, 2019, 11:04 p.m.