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!
3
1
1
17
That's weird, that's not what happens for me, if the nytimes version has any of its own stats it doesn't overwrite it from the redirect.
Feb 11, 2022 路 4:58 PM UTC

