Description Usage Arguments Value
View source: R/update_game_state.R
Update the state of the game in the cricket game object.
1 | update_game_state(gm, shooter_id, dart_num)
|
gm |
cricket game object |
shooter_id |
shooter id either player 1 or palyer 2 |
dart_num |
the dart that is thrown |
a data.table with the state of the game
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.