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
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
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
In reply to
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
aaronpk
aaronpk

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

|
Embed
philbowell
philbowell

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

|
Embed
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
philbowell
philbowell

@aaronpk amazing thanks! It worked perfectly 👍🏻

|
Embed