Skip to content

Instantly share code, notes, and snippets.

@lightdiscord
Last active February 21, 2022 18:12
Show Gist options
  • Save lightdiscord/3f4569c076a72d5539b2c8abb24058d0 to your computer and use it in GitHub Desktop.
Save lightdiscord/3f4569c076a72d5539b2c8abb24058d0 to your computer and use it in GitHub Desktop.
nerdlegame.com decode response to plaintext
// Decode the response from the server
function decode(plain) {
return String.fromCharCode(...[...plain].map((c) => (c.charCodeAt(0) + 113) % 126))
}
# Get the response from the server for a specific day (day - 1)
curl "https://nerdlegame.com/words/$(echo -n "$DAY" | md5sum | cut -d' ' -f1)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment