Description Usage Arguments Value
View source: R/simulate_game.R
Simulates a cricket game
1 | simulate_game(db, gm, plot_game, verbose = FALSE)
|
db |
dartboard object from dartboard::create_dartboard |
gm |
game object from set_cricket_game |
plot_game |
dartboard plot from dartboard::draw_dartboard |
verbose |
logic to write out data via print statement |
results contain final state of the game and all shots
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.