Worst case then, we encode the board square by square for simplicity.
We’ll probably end up using base64 which gets 6 bits per char.
So our 5-bit representation of spaces/tiles over 225 spaces, 86 bag tiles and the 14 in racks gives us 1625 bits. Which is 271 base64 chars.
Bigger than I hoped.
Hmm.
More tomorrow.