Description Usage Arguments Value Examples
Calculate possible health points for information purposes
| 1 | hp_check(player_id, opponent_id, units_data, dist_matrix_data)
 | 
| player_id | character ID of player | 
| opponent_id | character ID of opponent | 
| units_data | dataset contains information of all units in the game | 
| dist_matrix_data | distance matrix | 
Possible number of health points in case of attack but without any boosters and discounts
| 1 2 3 4 5 6 7 | set.seed(123)
p1 <- draw_units(price_limit = 50, units_data = units)
p2 <- draw_units(price_limit = 50, units_data = units)
units_game <- draw_hexs(p1, p2)
hp_check(player_id = "ID9", opponent_id = "ID14",
units_data = units_game, dist_matrix_data = dist_matrix)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.