by Retr0id · 4y ago · 0 comments
Wordle 222 3/6
⬛⬛⬛⬛⬜
⬛⬜⬛⬜⬛
⬜⬜⬜⬜⬜
However, this isn't truly spoiler free. It still leaks information. From what I posted above alone, you can infer that the last letter is probably a relatively common one.
With the help of Twitter's APIs (or in my case, a janky screen-scraping script), you can trivially gather thousands of these emojified game logs. I do not consider this cheating, because sharing these is part of the game.
You can use these, in aggregate, to perform frequency analysis. I haven't shared my code yet because I'm still working on it, but as an example, here's the output from my script for day 216:
https://twitter.com/David3141593/status/1484669351261347842
Out of all the possible words, it ranked the correct solution at rank 5 - and that's before providing a single input to the game.
Edit: Replaced green blocks with "⬜" because HN doesn't like them.
Code in C#: https://github.com/davidebbo/WordleReverseSolver
Although my current implementation is O(n), compared to his O(n^2) - but he's getting much better results.
Yet another thing that’s easily overlooked is that you don’t share a URL with a preview, as most developers would naturally think of; it’s just plain text! So it’s absolutely trivial to cheat, much simpler than extracting the word list or the solution from the code.
But why would you cheat? What’s the point?
https://medium.com/@furstenheim/learning-from-the-mistakes-o...
1. Provide a different scoring mechanism. Number of guesses is a bit simplistic. I'd like to see something where blank squares are 2 points, yellow are 1 point, and green is 0. Then a total score could be computed across all guesses, with the goal being the least number of points. It would incentivize "hard mode" I think.
2. Provide a difficulty rating of the daily word based on average number of guesses
3. Given a "spoiler free" answer, make a game out of guessing what the original player guessed.
Thanks for clarifying, my first impression was inverted i.e. that the solid ones were "green".
I don't get what you mean about leaking information, but you can infer that all letters are "probably" relatively common ones, that's a property of relatively common, higher probability
If I give you the new information "I guessed L4 on my first guess", you can use this to update the histogram. The more-probable entries in the histogram are now even more probable, and the less-probable entries less probable.
For the specific numbers, have a look at Bayesian Inference