Description Usage Arguments See Also Examples
View source: R/simulation_functions.R
Initializes gameplay for a single player simulation of Ship, Captain, Crew
1 | start_simulation(num_games, strategy = "default", multiplayer = FALSE)
|
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 |
Other simulation functions: multiplayer_simulation
,
reset_simulation
1 | ## Not run: start_simulation(10, "greedy")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.