The code design is also very elegant in its simplicity. You have two static lists of words in the JS code - known words, and a smaller, random pre-shuffled list of words the game will select from. The selection is done on the client, by date, from the second list - every day at midnight (your local time!) the next word in the pre-shuffled list is selected - no hashing or randomizing or anything. No cookies are involv…
When I first discovered Wordle, I immediately looked for a way to keep playing with new random words, something that most clones have implemented. After a few rounds, it just wasn't as fun. What makes it fun to spend 10 minutes on the game is that it's the only round of the day so there's a pay-off to giving it some thought. When you can keep playing new rounds, it's just not rewarding and I would just close the tab…
Wordle is pretty damn smart in many subtle ways
221–230 of 271 posts
Re: Wordle is pretty damn smart in many subtle ways
#222Not directly related to the article, but I was just wondering what the best word to start wordle with is - and I think it is ATONE. I arrived there by looking at the most frequent letters in english from https://en.wikipedia.org/wiki/Letter_frequency and putting them into an anagram solver at https://www.thewordfinder.com/anagram-solver/ There is no five letter word from ETAOI (the five most frequent letters) but the…
Re: Wordle is pretty damn smart in many subtle ways
#223The code design is also very elegant in its simplicity. You have two static lists of words in the JS code - known words, and a smaller, random pre-shuffled list of words the game will select from. The selection is done on the client, by date, from the second list - every day at midnight (your local time!) the next word in the pre-shuffled list is selected - no hashing or randomizing or anything. No cookies are involv…
Making the whole thing client side also let him scale from a small handful of users to literally millions with basically zero additional work. I hope it inspires future devs to let go of feeling like they absolutely need to beg or require users to create accounts to capture email addresses just so they have a chance at monetizing their thing. Wordle may not have ever caught on if it were preemptively over-engineered:…
And if the visitor abandons the site their data will just be garbage-collected after a while.
Re: Wordle is pretty damn smart in many subtle ways
#224Yet another flappy bird kind of a thing that caught on. It seems pretty boring to me and I don't wonder at all why I didn't have this idea first. It's pretty much a crossword variation.
Salty is a five letter word.
Re: Wordle is pretty damn smart in many subtle ways
#225Earlier quoted context omitted.
When I first discovered Wordle, I immediately looked for a way to keep playing with new random words, something that most clones have implemented. After a few rounds, it just wasn't as fun. What makes it fun to spend 10 minutes on the game is that it's the only round of the day so there's a pay-off to giving it some thought. When you can keep playing new rounds, it's just not rewarding and I would just close the tab…
> I would never have thought of just one, shared round per day which is surely one of the critical elements of its success It's different anyway, but how are people building routines around remembering to visit a certain website once a day? Do they just see the shares on Twitter and remember to go play themselves? Do they bookmark it? I certainly can't build a routine around a novelty like Wordle.
Re: Wordle is pretty damn smart in many subtle ways
#226YES!!
The thing I spent the most time on when coding was to avoid writing code.
* All code takes longer to run than the no-op
* The greatest performance/speed gains are not from optimizing, but from entirely eliminating chunks of code.
* All code is habitat for bugs, the more habitat, the more...
* More code can unnecessarily obfuscate the structure of the app, and ability to reason about it
Some time later, the same principle came up in a seemingly very different field of sportscar racing, when my driving coach asked me "What are the things you do that slow the car down?". I thought of some mistakes I was making, but he pointed me to the big basics - "turning and braking", followed by discussion that the most basic thing to do was to avoid turning and braking. Now obviously, some of both will be needed as soon as you approach the end of the starting straight — the point is to do only the absolute minimum, and that often takes a LOT of work to figure out how to NOT do something.
Same applies for writing code - avoid it at all costs, and write only the absolutely required minimum.
It is effort well spent
Re: Wordle is pretty damn smart in many subtle ways
#227What has been driving me a little nuts about it is the amount of luck involved with getting the word in a few tries. I can reliably get the word in 4 tries give or take. But when you hit something equivalent to *AR you can guess BAR, CAR, PAR, MAR, TAR, JAR, FAR, etc. The number of times I got 4 out of 5 letters on the second try just to finally get the word on the 5th or 6th try feels like I am cheated of a victory.
Then one day, I typed LAUGH and got 5 greens on the first line! Had to happen eventually, but still...
Re: Wordle is pretty damn smart in many subtle ways
#228Earlier quoted context omitted.
caulk was the word last week though? Nobody I play the game with knew that word. Granted we are not native english speakers. Too hard word every now and then is also unifying experience when everybody stops hating the player and instead hates the game.
Fair point. Caulk might also be more of a British English word than American English word.
Re: Wordle is pretty damn smart in many subtle ways
#229Earlier quoted context omitted.
> After a few rounds, it just wasn't as fun. Absolutely. If that limitation wasn't there, the game would've definitely fizzled out within days and maybe even never made to it the popularity it has now. The slow sustained popularity, with people posting their results on the shared daily word is the key to success here. It's the only reason people are still talking about it more than a month later.
This is also why I strongly prefer the HBO release model to the Netflix model.
Re: Wordle is pretty damn smart in many subtle ways
#230Earlier quoted context omitted.
Fascinating. Although I can program I’ve basically ended up as someone who can do fairly in-depth technical writing among many other things. And I’m not generally a word puzzle fan.
I can’t program but for awhile I wrote for a living. I was an English major in college and got hooked on Scrabble after reading Word Freak by Stefan Fatsis, a sportswriter from The Wall Street Journal. I’d always been into gambling and games with a luck factor like poker, backgammon, cribbage, etc., so that might have something to do with it. Always hated chess because the better player (nearly) always wins. Scrabble…