public static String longToString(final long boardConfig, final int numOfTiles) {
		final StringBuilder sb = new StringBuilder("[");
		for (int i = 0; i < numOfTiles; ++i) {
			final byte tile = (byte) ((boardConfig >> (i << 2)) & 0xF);
			if (i != 0) {
				sb.append(" ");
			}
			sb.append(tile);
		}
		sb.append("]");
		return sb.toString();
	}