public Card(String s) {
		switch (s.charAt(0)){
		case 'J':
			this.value=11;
			break;
		case 'Q':
			this.value=12;
			break;
		case 'K':
			this.value=13;
			break;
		case 'A':
			this.value=14;
			break;
		default:
			this.value=(s.charAt(0)-'0');
		}
		switch (s.charAt(1)){
		case 'S':
			this.suit=0;
			break;
		case 'C':
			this.suit=1;
			break;
		case 'D':
			this.suit=2;
			break;
		case 'H':
			this.suit=3;
			break;		
		}		
	}