Esempio n. 1
0
        }                                   // number of turns played

        public Game(string player1name, string player2name)
        {
            Player player1 = new Player(player1name);
            Player player2 = new Player(player2name);

            var Cards = DeckCreator.CreateCards(); // returns a shuffled deck

            var deck = player1.Deal(Cards);        // returns player2's deck and player1 keeps his

            player2.Deck = deck;
        }
Esempio n. 2
0
 static void Main(string[] args)
 {
     DeckCreator.CreateCards();
 }