simulate_game: Simulates a cricket game

Description Usage Arguments Value

View source: R/simulate_game.R

Description

Simulates a cricket game

Usage

1
simulate_game(db, gm, plot_game, verbose = FALSE)

Arguments

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

Value

results contain final state of the game and all shots


chringer-git/cricketmodel documentation built on Sept. 9, 2019, 5:06 p.m.