Micro.blog

aaronpk
aaronpk
Pretty neat trick Wordle used to migrate everyone's saved game state:

The main Wordle site was replaced with a bit of JS that grabs the game data from LocalStorage and puts it in the query string when redirecting to nytimes.

Also notable: that code is vanilla JS, no libraries!
manton
manton

@aaronpk That's cool. I play Wordle on both my phone and laptop, so already my saved data was fragmented and didn't sync up, but nice that NYT thought of this and kept it simple.

aaronpk
aaronpk

@manton With a bit of URL trickery you could combine your stats now thanks to the migration tool! Just make a link that looks like the real one and nytimes will happily use it!

richText
richText

@manton Josh Wardle mentioned this, and other under-the-hood stuff that I found interesting, on the Syntax podcast this week. (Domain transfer stuff in particular, sounded tricky.)

aaronpk
aaronpk

@richText oh nice, i'll have to give that a listen!

In reply to
philbowell
philbowell

@aaronpk didn’t work for me, none of my stats came across.

aaronpk
aaronpk

@philbowell If you go clear your localstorage on nytimes then you can use this tool I just made to recreate it!

https://pin13.net/wordle-stats/

philbowell
philbowell

@aaronpk amazing thanks! It worked perfectly 👍🏻