public void play(Deck deck)
	{
		turnFaceUp( 0 );
		
		while ( getTotal() < 17 && getCardIndex() < MAX_CARDS_IN_HAND ) {
			addCard( deck.draw(), true );
		}
		
		if ( hitOnSoft17 && isSoft() && getTotal() == 17 
				&& ( getCardIndex() < MAX_CARDS_IN_HAND )) {
			addCard (deck.draw(), true);
		}
		
		repaint();
	}