public override void InitializeBank(Dominion.Rules.CardBank bank) { bank.AddCardPile(new LimitedSupplyCardPile().WithNewCards <SecretChamber>(10)); bank.AddCardPile(new LimitedSupplyCardPile().WithNewCards <Moat>(10)); bank.AddCardPile(new LimitedSupplyCardPile().WithNewCards <Mine>(10)); bank.AddCardPile(new LimitedSupplyCardPile().WithNewCards <Market>(10)); bank.AddCardPile(new LimitedSupplyCardPile().WithNewCards <Chancellor>(10)); bank.AddCardPile(new LimitedSupplyCardPile().WithNewCards <Nobles>(10)); bank.AddCardPile(new LimitedSupplyCardPile().WithNewCards <Militia>(10)); bank.AddCardPile(new LimitedSupplyCardPile().WithNewCards <Village>(10)); bank.AddCardPile(new LimitedSupplyCardPile().WithNewCards <ThroneRoom>(10)); bank.AddCardPile(new LimitedSupplyCardPile().WithNewCards <Remodel>(10)); base.InitializeBank(bank); }
public Game(IEnumerable <Player> players, CardBank bank, IGameLog log) { if (!players.Any()) { throw new ArgumentException("There must be at least one player"); } _players = new List <Player>(players); Bank = bank; Log = log; Trash = new TrashPile(); _gameTurns = GameTurns().GetEnumerator(); _gameTurns.MoveNext(); }