public static Card getCard(int index, String console) {
		char c = console.charAt(index);
		Card card = new Card(-1,-1);
		if(c == 'T')
			card.rank = 10;
		else if(c == 'J')
			card.rank = 11;
		else if(c == 'Q')
			card.rank = 12;
		else if(c == 'K')
			card.rank = 13;
		else if(c == 'A')
			card.rank = 1;
		else
			card.rank = (int)c-48;
		c = console.charAt(index+1);
		if(c=='s')
			card.suit = 0;
		else if(c=='h')
			card.suit = 1;
		else if(c=='c')
			card.suit = 2;
		else if(c=='d')
			card.suit = 3;
		return card;
	}