ross,
@ross@fosstodon.org avatar

Stream of consciousness on efficient URL encoding of a Scrabble game…

The board is 15x15, so 225 spaces. We’ll need the “bag”, so 100 tiles but only actually 86 once game starts. 2 “racks” of 7 letters. And the score.

Each space can be empty, letter, blank tile with associated letter.

So all tiles/spaces can fit in 5 bits (up to 32 combos).

It would be good to represent plays as row/col/tile. But I THINK that’s harder to decode. Though row+col fits in 8 bits. Hmm…

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • everett
  • tacticalgear
  • magazineikmin
  • thenastyranch
  • rosin
  • tester
  • Youngstown
  • khanakhh
  • slotface
  • ngwrru68w68
  • kavyap
  • mdbf
  • InstantRegret
  • megavids
  • osvaldo12
  • GTA5RPClips
  • ethstaker
  • normalnudes
  • Durango
  • cisconetworking
  • anitta
  • modclub
  • cubers
  • Leos
  • provamag3
  • JUstTest
  • lostlight
  • All magazines