check_where_hit | Checks where the coordinates of a dart lands on the dartboard... |
force_score_cricket | Forces an update to a player's score without simulating a... |
get_coordinates | Find the cartesian coordinates of a shot give the name of the... |
make_player | Create a player object given a description of the shooter's... |
plot_shot | Returns a dartboard plot made from... |
select_target_basic_cricket | Reasons which shot to select given basic cricket strategy. |
select_target_closing_cricket | Reasons which shot to select given a closing strategy. |
select_target_pointing_cricket | Reasons which shot to select given a pointing strategy. |
set_cricket_game | Create a cricket game object |
set_marks | Set the marks and differentials for each player |
set_player_id | Set player id given 1 or 2 |
set_symbol | Turn mark counts into a symbol |
set_target | From the target name set the coordinates to shoot |
simulate_game | Simulates a cricket game |
throw_dart | Given a target, finds the actual shot. |
translate_targets | Translates dartboard into data.table of targets, coordinates,... |
update_cricket_game | Updates cricket object |
update_game_state | Update the state of the game in the cricket game object. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.