private static void testDeck(Random rand) { Console.WriteLine("# testDeck"); Deck deck = new Deck(rand); Console.WriteLine(deck); Console.WriteLine(deck.topCard()); Console.WriteLine(deck.topCard()); Console.WriteLine(deck.topCard()); Console.WriteLine(deck); deck.rotate(); Console.WriteLine(deck); }
public Game(Random rand) { this.deck = new Deck(rand); this.players = new Player[Game.PLAYER_NUM]; this.playerIndex = 0; }