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, ...)

Arguments

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

See also