massung
2022-1-18 17:36:24

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


samdphillips
2022-1-18 18:24:15

Not as sophisticated. Mine requires you to encode the constraints and call a function.

https://gist.github.com/samdphillips/f7306ffd199259b6533c19d1db785f2b


spdegabrielle
2022-1-18 18:51:02

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



samth
2022-1-18 20:51:08

spdegabrielle
2022-1-18 21:59:31

Is that four wordle solvers now!?


soegaard2
2022-1-18 21:59:59

Wordle is the new Sudoku.


spdegabrielle
2022-1-18 22:00:41

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


samdphillips
2022-1-18 23:51:35

wordle is much easier to solve than sudoku


samth
2022-1-19 03:40:39

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