
I don’t know if any of you have been part of the latest Wordle craze (https://www.powerlanguage.co.uk/wordle/), but some friends and I all decided to write code solvers for it. There’s no API or anything (that I’m aware of), so my version - in Racket, of course! - just tells you what word to enter and then you reply with what the website’s output is, and repeat.
It’s not pretty, nor does it terminate nicely as it was just a quickly whipped up script, but thought others here might be interested in improving it, coming up with ideas as well, etc.
https://gist.github.com/massung/7b805d2654d8a2fa46059043cd70db4c

Not as sophisticated. Mine requires you to encode the constraints and call a function.
https://gist.github.com/samdphillips/f7306ffd199259b6533c19d1db785f2b

To both: I think this is worth sharing - would you mind posting both your solvers in show and tell on the racket discourse ?
https://racket.discourse.group/c/show-and-tell/7\|https://racket.discourse.group/c/show-and-tell/7



Is that four wordle solvers now!?

Wordle is the new Sudoku.

I’ve got something important that must take priority (football+pub) but please post these on discourse

wordle is much easier to solve than sudoku

Well, easier and harder — there’s no score in Sudoku