All pastes #382972 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-03-06 01:09 UTC
rendered paste body
class 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());
		}
		
	}

}