Esempio n. 1
0
        private static AuctionHouse CreateAuctionHouse(List <Card> cards, IEnumerable <string> playerNames)
        {
            var auctionHouse = new AuctionHouse();

            auctionHouse.Prepare(cards.Where(x => x.MinimumBid <= 15), cards.Where(x => x.MinimumBid > 15), true, playerNames.Count());
            return(auctionHouse);
        }