I just hope the wordle developers manage to cash in on their going-viral jackpot without losing it to copycats or spoiling the experience for players.
Reverse engineering Wordle
41–50 of 67 posts
Re: Reverse engineering Wordle
#42Fun times. I remember back in the year 2000, during the dot com craze, there was a company in India that built a clone of "Who wants to be a millionaire". It was in beta and there was no real cash or prize involved. They had all the answers stored in the source code. I wrote up a quick perl script to play the game and unfortunately left it running overnight, and in the morning there were complaints from other players…
Re: Reverse engineering Wordle
#43Re: Reverse engineering Wordle
#44Earlier quoted context omitted.
How common is it to have your minifier change symbol/variable names to short ones?
Pretty much all of them do it. You can’t minify keywords or literals, so that just leaves whitespace, which would be barely any minification at all.
Re: Reverse engineering Wordle
#45Re: Reverse engineering Wordle
#46This is an unusual thing to find myself typing in a HN thread, but this could use a spoiler tag, as I did not expect to have tomorrow’s challenge ruined for me by a technical blog post.
I'm not easily finding the publication date, but for me the article says tomorrow's word is "query", which was actually the word a couple days ago. If that's what you see, too, then I think it's safe.
Re: Reverse engineering Wordle
#47When you submit a guess, it checks to see if your guess is in either array (or at least that's how I implemented it). And just does some relatively simple string comparison.
Your progress is just stored in local storage. You can blow your data away by deleting it via dev tools.
My version just lets you try again by refreshing, I'm not storing any data.
The viral factor of the original Wordle, IMO, is the share function and the little emoji grid it generates.
Re: Reverse engineering Wordle
#48Re: Reverse engineering Wordle
#49This website is crashing Chrome on my Xiaomi :/
Re: Reverse engineering Wordle
#50I figured that was possible; from the UX it was pretty clear it’s all client side. What I would find cool is derivation of the best strategy at any time. Just like blackjack, there should be a “best” move at all times , and it would be cool to measure yourself against that
I think there’s been a few of those on hacker news. Let me dig one up
It's not optimal at all, but works for every wordle word; it's built by finding the word (guess) that minimizes the maximum size of the possible words (to guess), a bit like Knuth Algorithm for Mastermind.
For an optimal strategy, a backtracking solution with pruning / maybe a branch and bound approach would work, but I didn't manage to implement a fast enough implementation for my small 8 threads CPU.