Draws actions from previous actions stored in population play summary (pps) object
bot_pop(game, player, pps, alt.bot = NULL, alt.bot.count = 5, name = "pop_bot", alt.bot.fun = bot_random, ...)
| game | the game object |
|---|---|
| player | the player number of this bot |
| pps | a pps object, can be extended during play. |
| alt.bot | a bot who will be aksed if there are too few observations in the popoulation |
| alt.bot.count | we assume that we already have this many observations for alt.bot. This determines the probability to draw from the alt.bot instead of the population |
Other Bots: bot_eq,
bot_mixture, bot_random,
bot_tables, make_bots,
play_bot_vs_bot
Other population play functions: new_pps,
pps_add_play_actions,
pps_rearrange