bot_pop: Bot who mimics the average player population

Description Usage Arguments See Also

View source: R/bot_pop.R

Description

Draws actions from previous actions stored in population play summary (pps) object

Usage

1
2
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

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


skranz/gtreeWebPlay documentation built on Nov. 17, 2019, 9:15 a.m.