Description Usage Arguments Value
View source: R/select_target_basic_cricket.R
Reasons which shot the shooter will select based on a basic cricket strategy. The shooter (1) checks if behind in points (2) if not behind, then shoots the highest bed or bull (3) if behind, then shooter the highest open bed of the opponent
1 | select_target_basic_cricket(gm, shooter_player_id, opponent_player_id)
|
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 |
name of the target
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.