select_target_pointing_cricket: Reasons which shot to select given a pointing strategy.

Description Usage Arguments Value

View source: R/select_target_pointing_cricket.R

Description

Reasons which shot the shooter will select based on a pointing strategy. The shooter (1) checks if behind in points (this is modified so that the shooter must be three mark's worth of points ahead) (2) if not behind, then shoots the highest bed or bull (3) if behind, then shooter the highest open bed of the opponent

Usage

1
select_target_pointing_cricket(gm, shooter_player_id, opponent_player_id)

Arguments

gm

object created from the set_cricket_game

shooter_player_id

either 1 or 2 given the shooter

opponent_player_id

either 1 or 2, but should not be the shooter's id

Value

name of the target


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