public Player(String name, Random random, Game game) { this.name = name; this.random = random; this.game = game; this.cards = new Deck(new Card[] { }); game.AddProgress(name + " has just joined the game"); }
public Deck DoYouHaveAny(Values value) { Deck cardsIHave = cards.PullOutValues(value); game.AddProgress(Name + " has " + cardsIHave.Count + " " + Card.Plural(value)); return(cardsIHave); }