update_game_state: Update the state of the game in the cricket game object.

Description Usage Arguments Value

View source: R/update_game_state.R

Description

Update the state of the game in the cricket game object.

Usage

1
update_game_state(gm, shooter_id, dart_num)

Arguments

gm

cricket game object

shooter_id

shooter id either player 1 or palyer 2

dart_num

the dart that is thrown

Value

a data.table with the state of the game


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