News for hackers. Stuff that matters.
Re:Solving Wordle in 3.64 guesses on average, 99.4% of the time by ycombobreaker on Sunday January 23, 2022 @06:53PM (#30051984)
I've seen a number of solvers; but my partner has forbidden me from writing one, forcing me to do everything in wetware. 3-4 guesses seems right intuitively. I saw some speculation that the dictionary was well-known, is that true?

Seems to me that the problem as-stated allows the guesser to discover a nonword "for free", but otherwise expects the dictionary to be "all five letter words" which is much larger than the real solution space. Though, maybe in practice that doesn't change the solvability by much.

Re:Solving Wordle in 3.64 guesses on average, 99.4% of the time by kevlened on Sunday January 23, 2022 @07:01PM (#30052047)
The wordlist is more than well-known, the word for each day is predetermined. The entire game runs in the browser and the selected word is based on the date. Here’s a quick script based on any date you select: https://codepen.io/kevlened/full/NWaOmPw
Re:Solving Wordle in 3.64 guesses on average, 99.4% of the time by tomlockwood on Sunday January 23, 2022 @07:25PM (#30052167)
This program actually inadvertently created a quite philosophical discussion amongst my friends! Some of them contended that writing a program to solve wordle sucked the joy out of the process of solving it, even if I solved the puzzle myself, first.
Re:Solving Wordle in 3.64 guesses on average, 99.4% of the time by moritonal on Monday January 24, 2022 @07:16AM (#30056720)
I once caused a vague division in my secondary school by writing a (looking back now) horrendously hacky OCR solver for our "world maths day" challenge.

Literally half the teachers thought it was cheating and I should be punished, whilst the other half thought (because I hadn't abused it to win prizes) that it showed a creative use of more modern skills to make up for my renowned weak mental-math.

I saw the joy in writing the solver as much more interesting than the math. Same way I can't focus on sudoku given I always try to "solve" solving it.

Re:Solving Wordle in 3.64 guesses on average, 99.4% of the time by ycombobreaker on Sunday January 23, 2022 @07:49PM (#30052306)
Yes it's interesting, precisely because it's intuitively "solvable" by machines. There's joy in solving by hand, and joy in creating a solver, but probably no joy in running your solver every day and sharing with your friends. Because every decision is some maximum-likelihood estimate, there's no tension or drama in the sequence of guesses.

In fact, simply the act of creating an infallible solver (100% likelihood of 6 guesses or less) demonstrates the futility of competing with their soft, fleshy skills.

I do think any solver that uses the solution-set is "cheating", but I suspect it makes little difference in the total solution (like... 2-3 bits of additional information needed, just a fraction of a round).

Re:Solving Wordle in 3.64 guesses on average, 99.4% of the time by eru on Sunday January 23, 2022 @11:06PM (#30053625)
You might find some enjoyment in writing solvers that compete with your friends' solvers?

You could either compete on number of guesses. Or you could fix the hardware (eg a Famicom), and compete on runtime?