Man pages for chringer-git/cricketmodel
Model a game of cricket (pub darts)

check_where_hitChecks where the coordinates of a dart lands on the dartboard...
force_score_cricketForces an update to a player's score without simulating a...
get_coordinatesFind the cartesian coordinates of a shot give the name of the...
make_playerCreate a player object given a description of the shooter's...
plot_shotReturns a dartboard plot made from...
select_target_basic_cricketReasons which shot to select given basic cricket strategy.
select_target_closing_cricketReasons which shot to select given a closing strategy.
select_target_pointing_cricketReasons which shot to select given a pointing strategy.
set_cricket_gameCreate a cricket game object
set_marksSet the marks and differentials for each player
set_player_idSet player id given 1 or 2
set_symbolTurn mark counts into a symbol
set_targetFrom the target name set the coordinates to shoot
simulate_gameSimulates a cricket game
throw_dartGiven a target, finds the actual shot.
translate_targetsTranslates dartboard into data.table of targets, coordinates,...
update_cricket_gameUpdates cricket object
update_game_stateUpdate the state of the game in the cricket game object.
chringer-git/cricketmodel documentation built on Sept. 9, 2019, 5:06 p.m.