private static int numCharToInt(char c) {
		switch(c) {
		case 'T':
			return 10;
		case 'J':
			return 11;
		case 'Q':
			return 12;
		case 'K':
			return 13;
		case 'A':
			return 1;
		default:
			return c - Integer.valueOf('0'); // eg. '4' to 4
		}
	}