Description Usage Arguments Details See Also
The first time the bot is called for a particular player in a play He picks a child bot randomly. Then it continues with that child bot for this player the whole play.
1 | bot_mixture(game, player, child_bots, prob = NULL, ...)
|
game |
the game object |
player |
the player number of this bot |
child_bots |
A list of child pots |
prob |
A vector of weights for each child bot. If |
If you use make_bots
or call
repeatedly bot_mixture
to generate mixture bots
for each player, the child bots will be independently
drawn for each player.
Instead, if bot1 is a mixture bot for player 1
and you create a mixture bot for player 2 by
bot2 = bot1\nbot2$player = 2
then bot2 will select in every play the same
child bot than bot1.
Other Bots: bot_eq
, bot_pop
,
bot_random
, bot_tables
,
make_bots
, play_bot_vs_bot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.