/** * Driver class for a simple BlackJack program. * * @author Devin Gray and class * @version February 22, 2016 */ public class Driver { public static void main (String [] args) { /* Card c1 = new Card("ace", "clubs"); Card c2 = new Card("six", "hearts"); Hand h1 = new Hand(); h1.addFirstCard(c1); h1.addSecondCard(c2); h1.evaluate(); */ /* TODO - Modify Friday's BlackJack program so that it * (1) generates the cards randomly and * (2) prints the two cards in the hand, as well as the score. */ Hand h1; for(int i = 0; i< 100; i++) { h1 = new Hand (); h1.generateFirstCard(); h1.generateSecondCard(); h1.evaluateHand(); } } }