예제 #1
0
파일: Game.cs 프로젝트: Sherbanm/PowerGrid
        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);
        }