game: play a random game of Citadels

Description Usage Arguments Examples

Description

play a random game of Citadels

Usage

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)

Arguments

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 max_city_size the game stops at the end of the turn.

quiet

logical. disable text output

Examples

1
2
3
require(citadels)

game(list_players(3), quiet = FALSE)

adrtod/citadels documentation built on May 10, 2019, 5:59 a.m.