Strategie wygrywania Wordle

Feb 15 2022
Uzależniony od Wordle'a jak wszyscy? Następnie potrzebujesz tych strategii, aby wybrać najlepsze słowa do pierwszego odgadnięcia. Ale jest pewien haczyk. Czy nie zawsze?
Wordle stało się fenomenem mediów społecznościowych i popkultury. Czy jesteś uzależniony? Tada Images/Shutterstock

Ponieważ popularność Wordle gwałtownie wzrosła , wiele mediów opublikowało artykuły  , w których badane jest najlepsze słowo , które można wykorzystać jako pierwsze przypuszczenie.

Często autorzy tych utworów wysuwają teorię, że słowo powinno zawierać jak najwięcej samogłosek, zawierać litery, które często pojawiają się w języku angielskim lub posiadać cechy, które regularnie występują w tym języku.

Cóż, moi studenci finansów i ja postanowiliśmy zająć się tym pytaniem w sposób jak najbardziej definitywny, określając optymalne pierwsze słowo do zagrania w Wordle.

Nasza analiza faktycznie przeanalizowała wszystkie możliwe kombinacje pięcioliterowych słów i przeprowadziła symulacje we wszystkich możliwych iteracjach — ponad milion z nich — aby znaleźć najlepszą strategię początkową.

„Wypróbowane” i prawdziwe podejście

W Wordle gracze mają sześć prób odgadnięcia pięcioliterowego słowa. Za każdym razem, gdy gracz odgaduje, dowiaduje się, czy każda litera jest poprawna i we właściwym miejscu, czy pojawia się w słowie w innym miejscu, czy w ogóle nie ma go w słowie.

Gracze mogą mieć różne podejścia. Niektórzy mogą po prostu chcieć rozwiązać słowo, nawet jeśli wymaga to sześciu prób. Inni próbują to zrobić w jak najmniejszej liczbie domysłów.

Opierając się na naszej analizie, jeśli próbujesz wygrać w jak najmniejszej liczbie domysłów, trzy najlepsze słowa to „plaster”, „wypróbowany” i „żuraw”. Użycie dowolnego z tych trzech słów spowoduje, że średnia liczba prób słów wynosi odpowiednio 3,90, 3,92 i 3,92, jeśli używasz do gry optymalnej strategii (więcej o tym później).

Jeśli, z drugiej strony, próbujesz po prostu wygrać w ramach przydzielonych sześciu prób, trzy najlepsze słowa do zagrania to „adept”, „clamp” i „plaid”. Użycie któregokolwiek z tych trzech słów przyniesie średni wskaźnik sukcesu w wygraniu gry odpowiednio 98,79 procent, 98,75 procent i 98,75 procent, jeśli grasz optymalną strategią.

If you're playing to win in the allotted six guesses, it appears best to play a word that has just one vowel and four consonants in it, as six out of the top 10 words have just one vowel. But if you're playing to win in as few guesses as possible, it's best to play a word that has two vowels and three consonants: All of the top 10 have two vowels.

Inside the Simulations

Other researchers, such as David Sidhu at University College London, have tried to determine the "best first word" from a linguistic perspective. In these efforts, the best selection is decided by how often certain letters appear in the English language, or the frequency of where these letters are located in five-letter words.

While these approaches are noble, our analysis extends beyond them by actually performing simulations across all possible word options to find the best type of word to play first.

To perform this analysis, two of my students, Tao Wei and Kanwal Ahmad, constructed a program that went through all 2,315 official five-letter words in Wordle's dictionary. The program attempted each possible word as a first guess and ran simulations across all possible end word solutions, checking how long each attempt would take to guess the correct end word — 1,692,265 total simulations.

We then averaged all attempts for each word to see how many guesses one could expect to make to get to the correct end word.

To perform this massive simulation requires a method for picking the optimal word on the second guess, third guess and so on.

To give yourself the best odds on each ensuing guess, it's important to select letters that are most likely to appear in each position. So the program used the list of 2,315 total words to determine the frequency at which each letter appears.

After receiving the results from the previous guess, the program filtered down the possible words to those that meet the criteria. Say the first guess were "bloke," and L and E were in the correct position, while B, O and K didn't appear in the solution. The program would then narrow down the list of possible words to those like "flume" and "slate."

The program then assigns a score to each word in this list, where the score is the sum of the frequency of its letters. The word "slate," for example, has a score of 37 percent because the letter "S" appears 5 percent of the time in the full list, while the letter appears "A" 8 percent of the time, and so on. The word with the highest score is then submitted as the next guess.

Running this simulation over all possible first guesses and against all possible solutions yielded the results.

But maybe you don't want to start with the same word every time you play. In that case — and if you want to win with the fewest guesses — try making sure your first guess has two vowels, with one of them at the end of the word.

Jeśli chcesz tylko wygrać w przydzielonych sześciu domysłach, możesz rozważyć słowo z mniejszą liczbą samogłosek – i zdecydowanie słowo, które kończy się na spółgłoskę.

Mam nadzieję, że nasze matematyczne podejście do Wordle nie wyssało całej radości z gry. Przynajmniej da ci to przewagę, jeśli zdecydujesz się postawić przyjacielski zakład na jutrzejszy mecz.

Derek Horstmeyer jest profesorem finansów w szkole biznesu Uniwersytetu George'a Masona. Specjalizuje się w finansach przedsiębiorstw.

Ten artykuł został ponownie opublikowany z The Conversation na licencji Creative Commons. Oryginalny artykuł można znaleźć tutaj .