Description Usage Arguments Value
View source: R/update_cricket_game.R
Updates cricket object
1 2 | update_cricket_game(gm, shooter_player_id, opponent_player_id, shot_hit,
targets_dt, dart_num)
|
gm |
cricket game object |
shooter_player_id |
number either 1 or 2 |
opponent_player_id |
number either 1 or 2, but not shooter id |
shot_hit |
where the shot landed |
targets_dt |
data.table of dartboard coordiantes |
udpated game object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.