private Game(IReadOnlyList <string> players, DeckCollection decks) { gameBoard = Enumerable .Repeat(decks, 3) .Flatten() .ToCircular(); playersStatus = players.Select(p => new Player(p)).ToCircular(); for (int i = 0; i < playersStatus.Count; i++) { visitor?.PlayerCreation(playersStatus[i].Name, i); } }
public IBuilder Decks(DeckCollection deckCollection) { this.deckCollection = deckCollection; return(this); }