Live data from Hacker News

Reverse engineering Wordle

reichel.dev

11–20 of 67 posts

Re: Reverse engineering Wordle

#13

A word of warning for anyone inspecting the Wordle source code: the answers for each day are stored in a list ordered by day. If you search for today's answer, the next word in the list will be tomorrow's answer, etc. Be careful not to ruin the fun by seeing tomorrow's answer in advance!

And def don't run `(new wordle.bundle.GameApp()).solution` in your browser console; you'll only be cheating yourself.

Re: Reverse engineering Wordle

#15

This was good while my wife and I were in the same time zone: we compared guesses and how we got there. Now that she's a day ahead, we can't do that right now (we found this out when she accidentally did a spoiler).

I’ve temporarily changed my time zone to play a bit earlier a few times.

Re: Reverse engineering Wordle

#17
post #12

how long before this is ported to IOS and becomes the #1 grossing game? I'm thinking ketchapp is already on it.

Clones had been popping up lately, but it seems Apple did something about it and banned them. https://www.macrumors.com/2022/01/11/wordle-app-store-clones...

there's 3 clones in the app store right now. two are ripping off the Wordle name.

Re: Reverse engineering Wordle

#18
post #7

> It seems like many of the variables are given names that are not descriptive at all to make it a bit more difficult to read. The code is just minimized for prod.. The article as written makes it sound like the developer(s) intentionally wrote their code cryptically, whereas minimization for deployment is fairly standard practice

How common is it to have your minifier change symbol/variable names to short ones?

Re: Reverse engineering Wordle

#19
post #18
post #7

> It seems like many of the variables are given names that are not descriptive at all to make it a bit more difficult to read. The code is just minimized for prod.. The article as written makes it sound like the developer(s) intentionally wrote their code cryptically, whereas minimization for deployment is fairly standard practice

How common is it to have your minifier change symbol/variable names to short ones?

Very common

Re: Reverse engineering Wordle

#20
post #18
post #7

> It seems like many of the variables are given names that are not descriptive at all to make it a bit more difficult to read. The code is just minimized for prod.. The article as written makes it sound like the developer(s) intentionally wrote their code cryptically, whereas minimization for deployment is fairly standard practice

How common is it to have your minifier change symbol/variable names to short ones?

Closure Compiler (for JavaScript) does it. With the SIMPLE_OPTIMIZATIONS [0] flag, it will rename parameters for—and variables local to—functions to save space.

[0]: https://developers.google.com/closure/compiler/docs/compilat...

Post reply on HN