run_experiments: Run a series of Hoot Owl Hoot! experiments

Description Usage Arguments See Also Examples

Description

This function will simulate a bunch of Hoot Owl Hoot! games with a set strategy and record the end game status of those games.

Usage

1
2
run_experiments(n_reps, n_players, n_owls, strategy = strategy_random,
  n_cards_per_player = 3, verbosity = 0)

Arguments

n_reps

An integer indicating how many reps of each combination to run.

n_players

A vector of integers specifying the number of players

n_owls

A vector of integers specifying the number of owls

strategy

A function specifying a strategy for all players to use or a list of length n_players where element i specifies a strategy for player i. The same strategy will be used for all games.

n_cards_per_player

A vector of integers specifying the number of cards for each player.

verbosity

An integer specifying how much detail to print out (0=none).

See Also

run_experiment

Examples

1
2
3
4
run_experiments(n_reps = 2, n_players = 2:3, n_owls = 1:2,
                strategy = strategy_random,
                n_cards_per_player = 2:3,
                verbosity = 0)

BoardGameSimulator/HootOwlHoot documentation built on May 6, 2019, 7:58 a.m.