static void testHuman()
 {
     BlackJack3.Deck d = new BlackJack3.Deck();
     Human hm = new Human("Human");
     Console.WriteLine("Testing Human.cs.....\n");
     hm.getsCard(d.deal());
     Console.WriteLine("Human's card is: " + hm.showHand().ToString());
 }
 static void testAndroid()
 {
     BlackJack3.Deck d = new BlackJack3.Deck();
     Android aroid = new Android("Android");
     Console.WriteLine("Testing Human.cs.....\n");
     aroid.getsCard(d.deal());
     Console.WriteLine("Android's card is: " + aroid.showHand().ToString());
 }
Exemple #3
0
        static void testHuman()
        {
            BlackJack3.Deck d  = new BlackJack3.Deck();
            Human           hm = new Human("Human");

            Console.WriteLine("Testing Human.cs.....\n");
            hm.getsCard(d.deal());
            Console.WriteLine("Human's card is: " + hm.showHand().ToString());
        }
Exemple #4
0
        static void testAndroid()
        {
            BlackJack3.Deck d     = new BlackJack3.Deck();
            Android         aroid = new Android("Android");

            Console.WriteLine("Testing Human.cs.....\n");
            aroid.getsCard(d.deal());
            Console.WriteLine("Android's card is: " + aroid.showHand().ToString());
        }