Esempio n. 1
0
 public BlackJack(int nrOStacks)
 {
     deck = new Deck(nrOStacks);
     players = new List<Player>();
     DealersHand = new List<Card>();
     Init();
 }
Esempio n. 2
0
 public static void Main()
 {
     Player p = new Player("Jedi", 100);
     p.AddCard(new Card(Card.Suit.DIAMONDS, "A"));
     p.AddCard(new Card(Card.Suit.DIAMONDS, "A"));
     p.AddCard(new Card(Card.Suit.DIAMONDS, "10"));
     p.AddCard(new Card(Card.Suit.DIAMONDS, "K"));
     Deck d = new Deck();
     d.Shuffle();
     Console.WriteLine(p.GetValue());
     Console.ReadLine();
 }