public PlayingCard drawTopCard()
	{
		if(cardsInDeck.length==0)
		{
			shuffle();
		}
		if(cardsInDeck.length==0)
		{
			System.err.println("All cards are in play");
			System.exit(0);
		}
		PlayingCard Return=cardsInDeck[cardsInDeck.length-1];
		PlayingCard[] oldDeck=cardsInDeck;
		cardsInDeck=new PlayingCard[cardsInDeck.length-1];
		for(int i=0;i<cardsInDeck.length;i++)
		{
			cardsInDeck[i]=oldDeck[i];
		}
		if(Return.draw())
		{
			return Return;
		}
		return drawTopCard();

	}