Ejemplo n.º 1
0
        public Dealer(int Decks)
        {
            Discard = new GameDeck();
            Deck = new PlayingDeck();
            Hand = new GameDeck();

            for (int IncrementDeck = 1; IncrementDeck < Decks; IncrementDeck++)
            {
                PlayingDeck addDeck = new PlayingDeck();
                Deck.MergeDecks(addDeck);
            }

            Deck.ShuffleDeck();
        }
Ejemplo n.º 2
0
 private void GameSetup()
 {
     autoPlay = !AskYesOrNoQuestion("Would you like to pause between plays?");
     _round = 0;
     GameofWarDeck = new PlayingDeck();
     GameofWarDeck.NewSeed();
     GameofWarDeck.ShuffleDeck();
     DealCards(GameofWarDeck, Player1, Player2);
 }