Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Wordle Now Redirects to NYT. Parent comment
const d = JSON.parse(localStorage.getItem("nyt-wordle-statistics"))
console.log(d)
d.currentStreak = // whatever your streak was
d.gamesPlayed = d.gamesPlayed - 1
d.gamesWon = d.gamesWon - 1
d.guesses["4"] = d.guesses["4"] - 1 // subtract the last game
localStorage.setItem("nyt-wordle-statistics", JSON.stringify(d))
There are no comments on this comment yet.
const d = JSON.parse(localStorage.getItem("nyt-wordle-statistics"))
console.log(d)
d.currentStreak = // whatever your streak was
d.gamesPlayed = d.gamesPlayed - 1
d.gamesWon = d.gamesWon - 1
d.guesses["4"] = d.guesses["4"] - 1 // subtract the last game
localStorage.setItem("nyt-wordle-statistics", JSON.stringify(d))