Recently a very well done word puzzle game Wordle has gone viral in my social networks. I wrote a helper program in Observable to help solve the daily puzzles. It was a fun little project because I got to use not only Observable but also Regular Expressions, and anonymous closures to create the solution.
2 Likes
This is fun!
I re-implemented the game here with some extras:
- optional hints generated with a maximum-entropy heuristic (explained in the notebook)
- a progress bar to show how each guess reduces the space of possible answers
- unlimited plays
Unlike your notebook, this won’t help during your daily session, but let’s you practice with lower stakes and develop your strategy (e.g. what are good initial guesses).
1 Like