Lurker News

Comments (236) 61 threads

dontwordle17 replies#
Hello! I am the creator of Don’t Wordle. Really excited to see this took off today.

I thought I would share some background about the game, some of the iterations I went through, and some of the future features I would like to add.
Background: Like many others, I have been playing Wordle daily. Recently, my Wordle win streak hit 99. I was admittedly very careful with my guesses on Day 100, not wanting to ruin my streak. Then I began to wonder…even if I wanted to lose intentionally, could I do it? Obviously, I could make intentionally bad guesses, but that would take the fun out of it. So I decided to build Don’t Wordle.
Iterations I have gone through:
The first version of the game was simpler and much worse IMO. I did not display the “Valid Words Remaining” at the top, and there was no concept of “Undos". Initially, I actually displayed the Wordle word at the top throughout the entire game! To be honest, that doesn’t change the difficulty of the game that much. However, given that the spirit of the game is not to guess the Wordle word, it seemed like the right decision to hide it.
I created the “Valid Words Remaining” feature when I realized how challenging the game was. I kept getting stuck and wondering whether there were even any words left besides to Wordle word. When I saw how fast the count shrinks, I felt the game was a lot more interesting.
I then added the concept of “Undos” when I realized the game was still too challenging. It’s particulary lame if you’re playing the game for the first time and you get eliminated after just 1 or 2 guesses.
Current Tech Stack:
-Route53 + Cloudfront + S3 + Create React App
Unexpected challenges:
1. The animations. I obviously copied all the concepts from the original Wordle, but I failed to appreciate the complexity.
2. The nuances of the repeat letter words.
3. What makes a Wordle square yellow? The answer is not so simple
4. Trying to get www.dontwordle.com and dontwordle.com to take you to the same URL (either www.dontwordle.com or dontwordle.com) and still support TLS and only use the tech I mentioned above. I actually still don’t have it working perfectly. I know of a solution, but it’s overly complicated
Features I would like to still add:
1. I have heard from multiple people that it’s annoying how you could get the game in an unwinnable state without realizing it. For example, maybe 20 valid words remain, but there is no valid sequence of words remaining to finish the puzzle. While the “Valid Words Remaining” feature is nice, it would also be cool to have a “Valid Solutions Remaining” feature
2. I would like to build a brute force solver that you can watch attempt to play the game in real-time. I have built something similar for a crossword puzzle and really enjoyed watching the computer try to fill the grid. I think it would be cool to do that same thing with this game.
Question I don’t yet know the answer to:
Do any words exist that would not have a single valid solution in this game?

ghaff4 replies#
>What makes a Wordle square yellow

One thing I had wondered--but not enough to figure out what the code does...
Let's say you enter Mamma for example. And there is one M in the word but in the second position. Which M square does Wordle choose to turn yellow? (But maybe it doesn't matter?) There may be other cases like that as well.

moron4hire1 reply#
From experience, the first M.
drooglyman#
Yep, it's the first M.

I think in general the rule is this: - Any Ms in the correct position turn green (duh) - If there are X Ms remaining in the answer, turn the first X (non-green) Ms in the guess yellow

julianwachholz1 reply#
For yellow squares, the particular order in which they turn yellow doesn't matter.

The remaining grey Ms tell you the same thing (that those positions don't have an M).

gweinberg6 replies#
That's true for Wordle, but I think according to the dontwordle rules you are allowed to make a guess with an em on one of the grey squares anyway.

Continue this thread — 6 replies

jzimbel#
Here’s the algorithm of the game’s letter marking system, based on my experience reproducing its logic for a script I wrote that computes remaining words from your guesses and their corresponding marks.

Suppose the target word is “polar” and you guess “banal”.
A submitted word is marked in 3 passes.
0. Initial state: (“banal”, “polar”)
1. Zip together the letters of the guess and target words, and loop through the zipped list. When both letters at a position are the same, replace the guess letter with the symbol for “correct” (green) and remove the target letter from the target word. State: (“banGl”, “polr”)
2. Loop through the target word’s letters, replacing the first occurrence (if any) of each one in the guess word with the symbol for “present” (yellow). State: (“banGY”, “polr”)
3. Replace any remaining letters in the guess word with the symbol for “not present” (black). State: (“BBBGY”, “polr”)
Return the marked guess word.
---
Other examples:
0. (“mamma”, “amaze”)
1. (“mamma”, “amaze”)
2. (“YYmmY”, “amaze”)
3. (“YYBBY”, “amaze”)
---
0. (“nieto”, “otoño”)
1. (“nietG”, “otoñ”)
2. (“nieYG”, “otoñ”)
3. (“BBBYG”, “otoñ”)
edit: fixing formatting issues. Sorry, first time posting a comment on here.

hitpointdrew#
> Let's say you enter Mamma for example. And there is one M in the word but in the second position. Which M square does Wordle choose to turn yellow? (But maybe it doesn't matter?)

I don’t think it matters, it should just default to the first M.

abofh5 replies#
For #4, this is actually frustratingly difficult, but if your constraints are not adding to the complexity, your best bet is to not, and just set your cookies to the domain. But if you like, one approach that would work: - Cert with SAN - CNAME's on the CF distribution - S3 Bucket And the sneaky bit: Use a cloudfront lambda to redirect "wrong" Hosts - comes with a cost, but it's super marginal.

Otherwise, your best approach is sadly a second cloudfront distribution with a different bucket (or bucket path) that just hosts a redirecting index key because you end up fighting stupid AWS design decisions.
Not that I've ever wasted stupid amounts of time on this particular problem...

aidos1 reply#
These days my solution is to put cloudflare in front of it and walk away.

Good game to add to my current daily routine (heardle, Wordle, quordle, worldle), but man is it hard!

867-53093 replies#
surely the answer is just an HTTP redirect?

thanks for heardle! have you tried nerdle?

Continue this thread — 3 replies

Jarwain#
> For #4, this is actually frustratingly difficult, but if your constraints are not adding to the complexity, your best bet is to not, and just set your cookies to the domain. But if you like, one approach that would work: - Cert with SAN - CNAME's on the CF distribution - S3 Bucket And the sneaky bit: Use a cloudfront lambda to redirect "wrong" Hosts - comes with a cost, but it's super marginal.

> Otherwise, your best approach is sadly a second cloudfront distribution with a different bucket (or bucket path) that just hosts a redirecting index key because you end up fighting stupid AWS design decisions.
> Not that I've ever wasted stupid amounts of time on this particular problem...
Doesn't this document[0] cover dealing with ssl on cloud front? Plus Amazon's Cert Manager? Or is it missing something?
Pair that with an redirect/alias of www=>@ and you should be golden?
[0]https://docs.aws.amazon.com/AmazonCloudFront/latest/Develope...

richardwhiuk#
Could do a JS redirect, falling back to an iframe of the whole page?
thesuitonym#
It's a problem with going `serverless', for sure. To anyone running a proper http server, it's trivial.
dj_mc_merlin#
> Not that I've ever wasted stupid amounts of time on this particular problem...

I have also spent _too much time_ trying to get this to work. Gave up and used nginx instead.

TimTheTinker2 replies#
I love the premise! It really pokes fun at how Wordle (and other popular games) are actually pretty hard to lose if you play anywhere above some very low threshold of effort/ability.

> it would also be cool to have a “Valid Solutions Remaining” feature
That would be awesome. I suppose the biggest challenge would be to enumerate possible solutions in tree form to allow DFS or BFS searching.
Thanks for sharing!

underdeserver#
I think that's actually what makes Wordle such a genius game - it's hard, you work for it, and it can happen, but you're very unlikely to actually lose!
eternalban#
Set a max 4 tries limit for yourself and see if you can maintain a 100% win streak. I've slipped to 5th on 16% of my wins with the 50% at 4, and 24% at 3 (and two (lucky) hits at 2. which I don't count.)
soxocx1 reply#
> 4. Trying to get www.dontwordle.com and dontwordle.com to take you to the same URL (either www.dontwordle.com or dontwordle.com) and still support TLS and only use the tech I mentioned above. I actually still don’t have it working perfectly. I know of a solution, but it’s overly complicated

If you use Cloudfront with an S3 bucket as origin for _dontwordle.com_, just create a second Cloudfront with an S3 Bucket for _www.dontwordle.com_ and enable "static website hosting" to redirect to "dontwordle.com" on the second bucket.

dontwordle3 replies#
So you can do this, but it won't support TLS to my knowledge. At least in my testing, it will work to navigate to www.dontwordle.com (you will get redirected to https://dontwordle.com). However, if you tried navigating _directly_ to https://www.dontwordle.com, that would not work. In fact, you can try clicking on https://www.dontwordle.com right now, and it won't work :) To be fair, currently I do not have it implemented exactly the way you described, but I encountered this exact same behavior when I tried it that way
aidos#
Yup, been there. Have a look to see if cloudflare will do what you need within the free plan. You just point it at the bucket, add a rule for the redirect and all the tls is handled for you. It’s pretty painless. Feel free to ping me if you want to run through the steps.
soxocx#
I use the setup described.

It was some tinkering around with bucket name (has to match the subdomain.domain.tld) and the cloudfront origin settings. But it works flawlessly. Feel free to ping me if you need details.
See links below.
coindex.de www.coindex.de

gitgud2 replies#
Could try serving a client side redirect. Just an index.html page that has a script that redirects the browser to the https version

Continue this thread — 2 replies

InfoSecErik#
I love the twist on the game, as well as the implementation automagically calling out when I've been defeated. Well done!
FatalLogic5 replies#
Great game. Doesn't it push players towards a strategy of working out the solution 'offline', though?

I mean, you start by playing almost the same as standard Wordle, just to guess the answer, without entering it. Then undo everything. Next, figure out a solution which avoids that word. Finally, type in your entire solution.
This could be a bit grindy, and not in the spirit of the game, but it seems like almost assured to win, or am I wrong?
Edit: If there are fewer undos allowed, this strategy gets more difficult

Continue this thread — 5 replies

Continue this thread — 11 more replies

ajjenkins4 replies#
It would be nice if there was a Give Up button. I got down to 30 possible words but could not for the life of me think of what they could be. I was craving that “Ohhhhh!!!!!” feeling when you see what the remaining possible words are.
brk3 replies#
Glad I'm not the only one. Got down to 20 possible words, but could not think of any that were valid choices given the letter/position constraints I had gotten to.
zeepzeep#
literally 1 possible word after I entered 2 tries :/ I have no idea which word it is
whimsicalism#
Did you think of focal?
mcv#
I was down to two words for my last try. I already had a strong suspicion what the word was; undos had gotten me back from a situation where I had 4 of the 5 letters. I just had no idea what the other word could possibly be. If I knew that other word, I'd win. Took me an hour to figure it out.
Aachen#
Agree on this. Some "give up" button that compares how far you got — for example: 3rd guess × 20 valid words remaining = your score — would make this easier to share and compare with others. Right now it's a fun toy but if you can't play together irl there's not an obvious compare method aside from giving the game state in a text message.
shp0ngle#
Echo this. Now I am down to 1 possible word, I have no idea what it is, and I just want to know the damn word.

edit: well, I solved it by adding a breakpoint to handleWordFinishedAnimating and printing this.state.targetWord . (The whole game is run in front-end.)
Well, yeah. That was a word.

ethbr03 replies#
The essence of any wildly popular single-player game = hard to win quickly + very hard to lose.
Waterluvian2 replies#
Yeah! That reminds me of something a game dev once taught me about single player games. (paraphrasing) "Almost all AAA titles are impossible _not_ to finish in a reasonable time. The entire challenge of balancing a single player game is to hide all the ways the game holds your hand, while making the player feel responsible for all the times you win."
LZ_Khan6 replies#
Um.. elden ring?
mwaitjmp#
Any soulsborne game for that matter. They are all a long enjoyable slog. Recommended for sure.
azemetre4 replies#
Literally spent 50 hours mucking around exploring everything I could before realizing that you have to fight Margit to progress the story. I honestly thought it was a game like Shadow of the Colossus where you freely explore and just fight bosses.

Fun game but some very terrible UX decisions that seem spiteful at times.

Continue this thread — 4 replies

wfleming7 replies#
From Soft games are, I think, popular with a particular niche precisely because they swim against the tide here.

Even their games, though, although they are famously and genuinely difficult, do try and guide the player to success. They just do it in somewhat subtle ways by trying to kill you a lot. I’ve been watching a let’s play series on YouTube of Dark Souls I & III for a while (“Souls Academy”), and one of things I enjoy about it is how they often talk about what skills particular bosses or game areas are trying to teach you, so that you can be successful with later, harder challenges.
But you’re completely right that these games aren’t “hard not to finish”. They’re extremely hard to finish!

Continue this thread — 7 replies

Continue this thread — 3 more replies

Continue this thread — 1 more reply

Continue this thread — 2 more replies

Continue this thread — 7 replies

Load more comments