Skip to content

Instantly share code, notes, and snippets.

@Bluscream
Created June 23, 2024 19:19
Show Gist options
  • Save Bluscream/92b917b672bf359684d1aaa55e0722bb to your computer and use it in GitHub Desktop.
Save Bluscream/92b917b672bf359684d1aaa55e0722bb to your computer and use it in GitHub Desktop.
Unlock all for guessthe.game
// Unlock all for https://guessthe.game/previous-games#
localStorage.clear();
const guesses = 7;
const days = 800;
localStorage.setItem("gamesPlayedCount", days);
for (let i = 0; i < days; i++) {
localStorage.setItem(`${i}_gamestate`, "win");
for (let ii = 0; ii < guesses; ii++) {
// localStorage.setItem(`${i}_guess${ii}f`, "false");
localStorage.setItem(`${i}_guess${ii}`, "Skipped!");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment