Article Preview
Buy Now
FEATURE
Xojo Wordle Solver
Struggling with Wordle? Here's an App for That!
Issue: 21.2 (March/April 2023)
Author: Marc Zeedar
Author Bio: Marc taught himself programming in high school when he bought his first computer but had no money for software. He's had fun learning ever since.
Article Description: No description available.
Article Length (in bytes): 26,425
Starting Page Number: 30
Article Number: 21204
Resource File(s):
project21204.zip Updated: 2023-03-01 10:08:03
Related Link(s): None
Excerpt of article text...
I've been playing Wordle for quite a while now (since close to its original release) and it's a great little puzzle that usually only takes a few minutes and a minimum of brainpower to solve (see Figure 1). I love that you can only play it once per day so it doesn't clog up my time like other games.
But occasionally Wordle gets very frustrating, devolving into a lame guessing game where there are way too many possible solutions and not an easy way to whittle them down (especially within only six guesses). It's occurred to me quite often over the past year or so that it would be nice to have an app to help me solve Wordle when I get truly stuck, and I also thought the challenge of creating an app to solve Wordle would be interesting.
However, I really had no idea how to go about writing this mythical app, so I kept putting it off. Then recently, after a couple of frustrating games, I decided to give it a try. My progress was not in a straight line, but after a few detours, I came up with a solution that's surprisingly simple.
Note: My goal here isn't to "cheat" at Wordle (since it's a game where you're competing against yourself, there's no benefit to shortcuts), but to explore how to write a Wordle-solving program. Also, if you've played Wordle, you know there is a lot of guessing going on. That means a Wordle Solver isn't magic and can't actually "solve" a Wordle. All it can do is show you the possible answers and help you narrow down the list. You still have to use your own brain and strategy to come up with a good guess.
...End of Excerpt. Please purchase the magazine to read the full article.