Unnamed
public text v1 · immutableclass TestApp implements CardConstants
{
public static void main(String[] args)
{
Deck deck = new Deck();
deck.setStandardDeck();
for(int i=0; i<200; i++) deck.shuffle();
Deck hand = new Deck(); // Players Hand (0 Cards)
for(int i=0;i<5;i++) hand.add(deck.draw()); // Place a card from the deck into the users hand.
for (int i=0;i<hand.size();i++)
{
Card c = hand.get(i);
System.out.println(c.getCardString());
}
}
}