You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
src | 1 year ago | |
.gitignore | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
custom.js | 1 year ago | |
index.html | 1 year ago | |
wordle.js | 1 year ago | |
wordle_stats_export.user.js | 1 year ago |
README.md
local_wordle
wordle, with a save and load button added, made into a single file (from /src
) using monolith
mostly just unminifying the existing code, using some patterns from the original html/css, and exporting and loading the localStorage 'statistics' object.
Exporting existing wordle stats
From the wordle page, Open your browser console (right click, inspect element or tools, open console or something), then load your stats like this:
JSON.parse(window.localStorage.getItem('statistics'))
They should look something like this
{
"currentStreak": 0,
"maxStreak": 0,
"guesses": {
"1": 1000,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"fail": 0
},
"winPercentage": 0,
"gamesPlayed": 0,
"gamesWon": 0,
"averageGuesses": 0
}
and then copy the object into a text editor, save as .json