public String getCard(){
		char c, p;
		
		String tmp = Integer.toBinaryString(this.code);
		
		if(tmp.length() < 2) tmp = "00".concat(tmp);
		if(tmp.length() < 3) tmp = "0".concat(tmp);
		
		switch(Integer.parseInt(tmp.substring(tmp.length()-2), 2)){
		case 0:
			p = 'C';
			break;
		case 1:
			p = 'T';
			break;
		case 2:
			p = 'D';
			break;
		default:
			p = 'P';
		}
		
		int num = Integer.parseInt(tmp.substring(0, tmp.length()-2),2);
		
		if(num == 0) c = 'A';
		else c = String.valueOf(num + 1).charAt(0);
		if(num == 10) c = 'J';
		if(num == 11) c = 'Q';
		if(num == 12) c = 'K';
		
		tmp = String.valueOf(c);
		tmp = tmp + String.valueOf(p);
		
		return tmp;
	}