public Player(int index) { this.index = index; hand = new List<Card>(); unknownCards = new Deck(); score = 0; }
public Player(int index, List<Card> hand, Deck unknownCards, int score) { this.index = index; this.hand = hand; this.unknownCards = unknownCards; this.score = score; }
public GameState() { players = new Player[4]; for (int i = 0; i < 4; i++) players[i] = new Player(i); Deck deck = new Deck(); deck.distribute(players, 0); turnIndex = getFirstPlayer(); trick = new Card[4]; leadSuit = Suit.None; cardsPlayedInTrick = 0; }