Boost your Wordle streak with Go
Artificial Intelligence
So much for my proof-of-concept Wordle cracker – but as always, not all options have been exhausted in this Snapshot, because DIY code invites you to experiment. Figure 3 offers a sneak peek into the secret explorations I conjured up after putting the basic solver in place: I let the machine automaton play against itself, by picking a random word and then trying to guess it. This means that new algorithms can be tested in terms of efficiency and with a view to continuous improvement.
And there you have it. The purpose of this article was to illustrate how to quickly put together a proof of concept to help a simple Go program understand the rules of the Wordle game and become an efficient player. Keep in mind that cheating at Wordle is strongly discouraged. Where would be the fun in that?! Remember, the world's best Scrabble players go through great efforts to memorize huge lists of unusual words. There's a reason that computers aren't permitted at the competitions!
Infos
- Wordle: https://www.nytimes.com/games/wordle/index.html
- "I Figured Out Wordle's Secret" by Ian Bogost, The Atlantic, January 29, 2022: https://www.theatlantic.com/technology/archive/2022/01/solving-wordle-puzzle/621413/
- "Wordle: New York Times Buys Viral Game for Seven-Figure Sum" by Lois Beckett, The Guardian, January 31, 2022: https://www.theguardian.com/games/2022/jan/31/wordle-new-york-times-buys
- Scrabble word list: https://boardgames.stackexchange.com/questions/38366/latest-collins-scrabble-words-list-in-text-file
- Best first word: https://www.inquirer.com/science/wordle-starting-word-answer-win-play-20220203.html
« Previous 1 2 3
Buy this article as PDF
(incl. VAT)