Programmers explore the secrets of Wordle – The New Stack

As Wordle-mania sweeps the internet, programmers, math geeks and assorted nerds have decided to have fun – and they’ve unlocked an explosion of creativity.

Each day, the simple but suddenly popular game gives players six chances to guess a five-letter word – each time highlighting their correctly guessed letters (and the correct letters that are also in the correct position). Earlier in January, recent boot camp graduate Hannah Park created a clone of Wordle as a teaching exercise (using popular tools like React, TypeScript, and Tailwind).

And then a data scientist/physicist based in London, Richard Mann (with Imogen Mann) came up with the idea for a version where instead of letters, players guess numbers and operators in a math equation.

They forged Park’s code (with help from Marcus Tettmar, the co-founder/CTO of personal finance app, Untied) to create Nerdle. “We think it’s just as fun to play with numbers as it is with letters,” the game’s info page explained. “See if you agree!”

But they’re not the only ones trying to turn the game into something more technical. Earlier this week in Norwich, England, an 18-year-old programmer named James Livesey created Bytle, a game where players try to guess – can you believe it? — an 8-bit unsigned integer.

The catch is that player inputs must be normal base-10 numbers, preferably a number between 0 and 255. But each guess is converted to binary before eight green and yellow boxes are displayed (which mean now only which of the 8 results bits are correct).

Developers Ian Ross and Colin M. Saunders have even created a Python module that plays Wordle against local bots – and they’re challenging developers to test their creations in 1,000-word competitions on botfights.ai.

Looking for answers

But other programmers try their hand at creating Wordle solvers. Christian Genco, a developer based in Colleyville, Texas, has built an impressive multi-function word solver that also lets players enter the words they’ve guessed – then attach every remaining possible word. (Click on the letters in your guess to change the color to green or yellow.)

It also calculates your next best guess – the choice that will eliminate the most remaining words. “HAHAHAHA THIS WORKS SO WELL,” Genco posted jubilantly on Twitter when his tool resolved puzzle #203 with only three guesses.

And Genco’s Wordle Solver can also be used to replay the game with your own guesses, just to see how close or how far you got.

But soon this army of Wordle solvers were faced with their dark doppelgangers, with more than one developer trying out a variant called “Evil Wordle”.

The ‘Absurdle’ creator promises that his own AI “is very evasive and it takes real effort to force the game to drop useful information and back it into a corner.” (“If you liked Absurdle, try HATETRIS, my adversarial version of Tetris.”)

Other developers have also implemented similar evasion algorithms. “Each time you guess, I look at all possible 5-letter words that would match all of your guesses, and choose the matching pattern that yields the most possible words,” said the Evil Wordle page created by Ravi Parikh, the programmer who co-founded the Airplane.dev in-house app building platform. “My goal is to maximize the number of guesses needed to find the word.”

Recent threads on Hacker News are now finding solution makers sharing stories of how their wordle solvers handled these sinister word-changing clones!

The social contract that we all respect so as not to ruin the day of the day gave me a little faith in humanity.

— Sarah Bessey (@SarahBessey) January 25, 2022

On Thursday, CNET reported that a game developer named Guilherme Töws had created a “much more evil new clone” called Dordle, in which the solution consists of two five-letter words, side by side, with players trying to guess them all. both (remaining to guess a single five-letter word).

Gaming site Kotaku describes Dordle as “a nightmare that only breeds pain and heartache, so only accomplished word guessers should try this one unless you like owning a video game.”

But Kotaku also calls spinoffs “stellar examples of what happens when smart people have fun for fun… These games can be as simple or complex as they want, and probably get weirder and weirder as they go along.” time.

“I’m excited to see what incredibly weird guessing games will emerge from the collective consciousness next.”

If Wordle was a city

Other developers are also trying to make a better Wordle. Hello Word replicates the mechanics of the original game, but adds a slider at the top of the puzzle that extends the word length (and your guessed words) up to 11 letters.

Someone even created a variation he describes as ‘Crosswordle: Sudoku Meets Wordle’, a challenging and surprising puzzle where you try to fill in a set of guesses that lead to a word – including the appropriate letters for each yellow square. opened.

Meanwhile, some developers have focused their efforts on bringing the joy of Wordle to other parts of the globe. There are now versions that use Yiddish and Hebrew words, and one where the words are Norwegian.

Look a little longer and you’ll find at least two versions using French words, plus two versions using Danish words – including one on the wørdle.dk domain. There are versions in Dutch, Portuguese, Swedish, Finnish, Romanian and even one in Bulgarian.

All over Twitter, there are wonderful stories of Wordle unlocking even more unexpected forms of creativity. Laura Tilton, a technology education professional, recently tweeted that she created visualizations of the game’s most frequently used letters with Google Data Studio. Julian Glander, a graphic designer, converts his blocks in fancy 3D images.

the WordleInPaint The Twitter thread tried translating its guesses into cartoons using Microsoft’s Paint. David McFarlane, associate lecturer in computer music design at the British and Irish Modern Music Institute, claims to have built a word sequencer “that transforms your results in music.”

And one developer has even created a web page that turns tweets with Wordle’s spoiler-free colorful blocks into colorful skyscrapers from the game Townscraper.

Endless fun

In the end, there may be something primal about the technical mind that sees the whole Wordle phenomenon as just another new toy to take apart and explore.

Ben Hamner, the CTO/co-founder of Kaggle (a Google subsidiary once described as “an AirBnB for data scientists”) is another person looking at gaming in new ways. On Thursday, Hamner announced that he had found a way to figure out the word simply by grinding down all the yellow/green/gray squares people shared on Twitter.

“Since I started collecting Twitter data (Wordle 210-222), this method has generated the correct Wordle response on the first attempt every day!” Hamner wrote on his blog.

Although they discovered that some tweets are more useful than others…

But perhaps the true colors of the tech community shine brightest in the story of Steven Cravotta, who at the age of 18 created another entirely different app – which he also named Wordle. Four years later, its downloads increased unexpectedly this month, according to Cravotta’s Twitter accountsuddenly attracting over 200,000 downloads in just one week.

This tale has a happy ending. Cravotta contacted Josh Wardle, the actual creator of the now viral Wordle game, with Cravotta promising to just donate the money to charity – specifically, a tutoring/mentoring program called Boost! West Oakland.

Yes, there are less inspired variations of Wordle. A recent article in Slate noted other forgeries – such as a blasphemous version called Sweardle – and there’s also a satirical one-letter version of the game (consonants allowed) which of course takes a lot longer to solve.

But to get an official reaction, Slate also followed original Wordle creator Wardle, a former software engineer at Reddit and Pinterest who (as of December) is a software engineer for New York art collective MSCHF.

Wardle said all of the clones left him feeling warm and satisfied inside.

“As someone who creates stuff, to see people so inspired by something you’ve created that they want to riff on it, it’s amazing,” he said. “It makes me feel so good.”


Image courtesy of Wordle.

Comments are closed.