예제 #1
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());
 }
예제 #2
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());
 }
예제 #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());
        }
예제 #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());
        }