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!
|
Embed
Progress spinner
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.

|
Embed
Progress spinner
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!

|
Embed
Progress spinner
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.)

|
Embed
Progress spinner
aaronpk
aaronpk

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

|
Embed
Progress spinner
philbowell
philbowell

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

|
Embed
Progress spinner
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/

|
Embed
Progress spinner
philbowell
philbowell

@aaronpk amazing thanks! It worked perfectly 👍🏻

|
Embed
Progress spinner