Description Usage Arguments Examples
play a random game of Citadels
1 2 | game(players = list_players(4), quarters_deck = deck_quarters(),
n_coins_init = 2, n_cards_init = 4, max_city_size = 8, quiet = TRUE)
|
players |
list of players |
quarters_deck |
list of quarters in the deck |
n_coins_init |
integer. number of coins for each player at the beginning |
n_cards_init |
integer. number of cards for each player at the beginning |
max_city_size |
integer. if any player builds |
quiet |
logical. disable text output |
1 2 3 | require(citadels)
game(list_players(3), quiet = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.