If you've been on social media this month, you may have seen a curious sight cross your feed. It's a grid of yellow, green, and black or white squares with the term "Wordle" across the top. For those in the know, you can nearly parse those Wordle grids as a type of language by this point.
🧩 You love puzzles. So do we. Let's talk strategy together.
But how can you use math to come up with the best strategy for this viral word game? And how can you use that knowledge to come up with the best-possible starting words? Put on your thinking cap and prepare for a quick-and-dirty Wordle lesson.
🔡 What Is Wordle?
Wordle is a browser-based word game, meaning virtually anyone with an internet-ready device can access it for free. (Please don't download anything or pay for sneaky imitators!) Each day at midnight local time, there is a new puzzle to solve. And the mechanics are simple: Wordle chooses a five-letter word, and you have to guess what it is. You get six guesses that must be valid words themselves.
As you enter your guesses, the game gives you feedback. If you have a correct letter in the correct spot, you see a green square. If you have a correct letter, but not yet in the right position, you get a yellow square. No matter where you play, you'll see a keyboard that gives you feedback too, color-coding the letters you've already guessed and making it abundantly clear what's left to try.
Whether or not you guess the right word within six guesses, the game generates a grid of emoji squares that you can copy and paste into any social media site in a snap (check out the image at the top of this section). All of these factors make Wordle super shareable, which is part of why you've probably started to see it everywhere. It's a great design, all made by Brooklyn, New York-based software engineer Josh Wardle.
🔡 What Are the Best Starting Words To Use in Wordle?
Okay, so the game is good and its creator made cool choices in the design, but what we're really here to do is get down to brass tacks (both valid Wordles) and explore the strategy of designing good Wordle guesses.
I've been studying Wordle for about a week now, from the specific perspective of a person who loves to play and design word puzzles of all kinds; I'm sort of a low-level aficionado. If you don't know more about word games than the rules for the occasional living room Scrabble tournament (where people often introduce arbitrary rules like "You have to be able to define the word"), you may not realize that Scrabble—and similar word-based games—have rich and complex strategies that are a lot more about math than your profligate vocabulary.
So for me, Wordle immediately seemed like a strategy puzzle, and thankfully for us, those can be mathematized. First, I had to choose a dataset to study. Wordle itself has two libraries: one of about 2,500 words that contain possible Wordle solutions, and one of about 10,000 words that can be used as guesses. This means Wordle is both a relatively small pool, and intentionally designed to use more common words as the solutions; more obscure words are pretty much reserved as guesses on the path toward the solution.
Here are my starter Wordle guesses:
ALTER, BISON, and
🔡 Which Letters Appear Most Frequently in Wordle?
Now, let's talk about how I arrived at those three starting words.
To get a more-or-less straightforward sampling of natural English language, I turned to a novel that has just entered the U.S. public domain (meaning that copyrights and trademarks no longer apply to the work): Ernest Hemingway's first novel, The Sun Also Rises, first published in 1926. This Modernist masterpiece is all-killer no-filler, with little slang and a relatively timeless take on American English. I dropped the whole text into a spreadsheet for calculation purposes.
Our first takeaway is about letter frequency. Here's what the text bears out:Caroline Delbert
There are four vowels (everything but "U") in the top ten most-common letters represented in the novel. The other six most-common letters are consonants: "T," "N," "H," "S," "R," and "D." Keen-eyed observers will note that this letter distribution is different from the "gimme" letters in the final challenge on the word-guessing TV game show Wheel of Fortune. Those letters are "R," "S," "T," "L," "N," and "E." I started by using guesses based on the Wheel, but they didn't reflect the real incidence of consonants in Wordle, in particular.
Apparently, the linotype operators have been on this for decades, though:This content is imported from Twitter. You may be able to find the same content in another format, or you may be able to find more information, at their web site.
My great-grandpa was a linotype operator and my family tells me the letters on the machine were in order by frequency. If you made a typo, you ran your hand across the first 2 rows. "Etaoin shrdlu" meant "discard this line". Never imagined that knowledge would help me win Wordle!— Ray Bernoff (he/him) (@rmhbernoff) January 12, 2022
From my data, I developed a slightly different set of guesses to use:
ADULT, GRIME, and
SHOWN. The goal was to cover as many of the most-common letters as possible. It turns out that across three guesses (and 15 letters), you can cover nearly 90 percent of the letters. At that point, I shared my theory on Medium, an online self-publishing platform, and let people take a look. A few let me know that my advice helped them improve at Wordle, which was a delight to hear.
🔡 Account for Letter Pairings and Positions
Still, some commenters let me know that there were aspects of the game that my advice wasn't accounting for. One of these, a linguist friend told me, is the idea of digraphs and trigraphs: pairs and trios, respectively, of letters that may go together more commonly than their individual stats suggest. This, he says, could explain the frequency of "H," because it so often appears as "TH," "CH," or "SH." The Guardian has a very cool linguistics-powered take on the game, if you'd like to read more about that.
I couldn't feasibly study the combinations of letters this way (if you take a whack at it, let me know), but I could study another factor people mentioned to me: letter order. This makes intuitive sense, like the fact that "Y" usually shows up at the end of a word, or that "Q" usually appears at the beginning. To examine this further, I went back to my dataset of five-letter words from The Sun Also Rises.
🎭 The Great American Vs. Briton Debate
🎭 The Great American Vs. Briton Debate
Britons had a meltdown when one of this week's answers,
FAVOR, was spelled the American way. But when you make a guess attempt, the game does accept British spellings like
ODOUR.This content is imported from Twitter. You may be able to find the same content in another format, or you may be able to find more information, at their web site.
For anyone who's confused about why Wordle 207 X is trending: pic.twitter.com/k4UwL0POGy— ZaxPrefersTV (@zaxptv) January 12, 2022
For each word's letter breakdown, I added a note of its position in the word: first, second, third, fourth, or fifth. Then, I ranked them as percentages of the total appearances of each letter. Some, like Y, had runaway winners. Others had less-clear outcomes. In all cases, I highlighted the top one (or two, when there was no clear winner) and then recalculated my word list using these results.
Right away, the top words according to letter frequency are no longer the top words when we lump in letter order. Some words, like
OCEAN, EXTRA, and
OPERA, have no letters in their most frequently occurring positions. The most popular words with all five letters in the best places are
WHITE, PONTE, WRITE, SAINT, and
PLATE. Further down, there are ones like
MONTH, GRANT, and
So you have two philosophical options when you open Wordle each day. Well, I guess there are three options, really. First, you can be a complete improviser, choosing words that feel right each day. In that case, the advice here will help you shape those thoughts as you decide what to guess. Second, you can choose words based on letter commonality alone, increasing your likelihood of pulling yellow squares rather than green necessarily. And third, you can consider letter order in your guesses.
For people like me, who strategize in these games as a natural part of our engagement with them, there will always be something more to analyze and try to figure out. To go much further, including to dig up the actual Wordle word lists as a data pool to study, would push the game back out of the fun zone for me and into min-max territory. That might still be fun for some players, though. All you can do is find the style of guessing that's most enjoyable for you—and don't forget to share your results.
Source : https://www.popularmechanics.com/science/math/a38767675/how-to-win-wordle-with-math/2539