75 comments

[ 4.1 ms ] story [ 118 ms ] thread
See also: https://news.ycombinator.com/item?id=29862597

Same idea, different implementation.

Ah yeah a friend sent that to me right after I created my version! I remembered making an “evil hangman” in class many years ago so probably a lot of folks will have the same idea.
.
I'm not sure if assuming malice makes sense. If the OP of this post was busy coding they'd likely have missed the earlier post. In fact I'd guess that except for some people most don't follow HN that religiously. Side note, why might someone want to earn karma on HN? I know people on reddit sometimes do it to sell their accounts but I'd imagine it to be much more pointless here.
(comment deleted)
I managed to get it in 6:

STRAP - ______

BIOME - __Y_Y

HOVEL - _G_G_

CONED - GG_GY

CODEX - GGGG_

CODEC - GGGGG

Cool idea, btw.

Nice! That’s the best I’ve managed as well.
A (self-made) tool-assisted 5…

  1. LARES - xxxxx
  2. BIONT - xxYxx
  3. PUDGY - xxxxG
  4. COMFY - GGxxG
  5. COCKY - GGGGG
I agree - great idea.

It only took 22 hours’ CPU time, a custom string encoding and several trillion operations to work out LARES was a decent first go.

Another 5 run (non tool-assisted, I guess I just got lucky):

    STRAY - xxxxx
    BOWEL - xxxYx
    MEDIC - xYxYY
    CHUNK - GGxGx
    CHINE - GGGGG
I guess that means that 4 isn't possible? Is there a better strategy for the opponent that would make even 5 impossible?
I got lucky with 5 as well:

ADIEU BLAST MANOR FANNY CANNA

⬜⬜⬜⬜ ⬜⬜⬜⬜ ⬜⬜⬜ ⬜⬜

Someone else posted: AIRED, BOOTS, PLUNK, CHUCK and that works in 4.

The best I had gotten myself was five.

This is fun! Though when I dove right in I mistakenly thought that the indicator for the correct letter was also indicating the correct position for that letter. But that was not the case. I had a weird combo and had to give up before I understood that.
My kid is now trying to solve it, keeping careful notes of letters. I explained what (I'm guessing) makes it evil, but she's undeterred. (Solved in 15)
Doesn't know the word "femto": https://en.wikipedia.org/wiki/Femto-
Prefixes are not themselves words.
I think there's also the question of whether a word adopted from Danish by an international standards body in the 20th century automatically counts as English.
Use “femto-“ in a sentence.
> Use “femto-“ in a sentence.

There you go.

Even if we discard obligatory quotes, there's still the hyphen as a part of stand-alone version of this "word". So when I use "femto-" by itself in a sentence, it's at best 6 characters long.
You can quote any nonsense in this sentence, so it is an incorrect proof of a word’s existence.

> Use “bfekpv” in a sentence.

"Femto (symbol f) is a unit prefix in the metric system denoting a factor of 10−15"
On my first try

toast

cluEd

whEre

BEGIN

BEING Correct!

It's a cool idea, but it'd be nice to show which letters have been eliminated like "real" Wordle. I don't think not having them makes the game harder, just more tedious.
Thanks, I hate it. [Cool game!]
This uses different word lists than Wordle/Adversarial Wordle, but still has a 4-guess optimum, no 3-guess is possible.

My solver's found about a thousand so far, here's a good one: "abyes choup donut dingo" (note that there are a number of 'fake' words allowed for guesses).

This might be a solution for the suboptimal adversary used here but it's not a solution in general.

abyes GXXXX

choup XXXXX

donut XXYXX

dingo XYYYX

matches both

aging, again

so this solution doesn't actually partition the solution space the way you want it to.

The solution partitions the solution space exactly the way I want it to: it was designed for the site this thread is about. Obviously it doesn't work against an arbitrary adversary.

My solution is static and doesn't take any clues into account, so what you're saying just doesn't feel very relevant. The only "solution in general" to an arbitrary adversary, if you're not allowed to look at the clues it gives, is just to guess every single target word, which isn't very interesting.

Now, you could easily argue that the greedy strategy used by the site is suboptimal, and I'd agree, but AFAIK nobody's put up a site with a better one yet.

> note that there are a number of 'fake' words allowed for guesses

I used a much larger dictionary for allowed guesses than for the actual words that get chosen.

> The goal is to maximize the amount of guesses it takes to find the word

The heuristic used is not optimal for this. You want to choose the set that takes the most number of guesses to split, which is not necessarily the set with the largest number of elements.

Had this bouncing around my subconscious, thanks for crystallizing it.
AUXIN

Not really fun when the dictionary uses extremely obscure words.

I wonder what is the best strategy over a long distance?

“ALONE” and “SHIRT” cover 1st to 9th and 11th most common letters in English dictionary but then, you'll be getting more yellow letters in first two words which might not be the best approach (compared to completely eliminating 10 letters altogether).

Then, for words like “_OUCH”, it might be optimal to come up with a word containing as many potential first letters as possible (while omitting letters already in use, “ouch” in this case).

So, there's another evil Wordle thread on Hacker News today (https://news.ycombinator.com/item?id=29862597) and over there, I've been refining my algorith for optimal play. Here's the current approach:

    R A I S E (0 green, 0 yellow, 168 words remain)
    B L U D Y (1 green, 0 yellow, 13 words remain)
    C O U N T (2 green, 1 yellow, 2 words remain)
    V O U C H (4 green, 0 yellow, 1 word remains)
    P O U C H (5 green, 0 yellow, 0 words remain)
But what was interesting was at one point of development, it did this:

    L A R E S (0 green, 0 yellow, 576 words remain)
    T O N I C (1 green, 0 yellow, 50 words remain)
    B O O D Y (4 green, 0 yellow, 5 words remain)
    D E G U M (0 green, 2 yellow, 1 word remains)
    G O O D Y (5 green, 0 yellow, 0 words remain)
See, the "BOODY" has 4 greens, but then it went and guess "DEGUM" to eliminate a lot of possibilities!
One additional feature I was looking at for a personal implementation was picking the target word- how is it being chosen from the remaining letters after the player's first guess? Are you using a word that purposely uses fewer common letters from the set of remaining words?
No, I'm looping through all possible guess and targets and grouping possible targets by matching scoring. Then I select a guess on which one has the smallest set of possible words afterwards. For example, "SERAI" seems to be a good first word. The reason why is that even if the adversary selects the worst-case scoring of (in this case, it would be no green, no yellow), there's only 168 remaining words it could be.
Do you have the code that you use for scoring somewhere?
Seems like this will be the same as the 2046 craze. Game becomes popular then a million copy-cats and off shoots get created.
Wordle itself stems from a really great two-player pen and paper game called Bulls and Cows that I used to play decades ago. Google it for the rules.
This engine is deterministic.

No computer assistance, no obscure words, hard mode:

  AIRED -----

  BOOTS -----

  PLUNK --U-K

  CHUCK CHUCK
Evil Wordle: "bobby". I won after 12 guesses

Ha! fun game. The fun was writing a program to narrow down the alternative words, now I lost interest in the game.

I got 'bobby' in 7, a bit of luck perhaps.
Fun but wtf is "direr"
More dire, as in more worrisome/extreme/upsetting.

You've heard of Dire Straits, right?

The pandemic in 2022.
Evil Wordle: "coves". I won after 14 guesses

Turns out _o_es has a few options to guess...

I keep pull down refreshing the page and can't go back to what the word was. Also cataegories would be nice. Also a list of the alphabet at the bottom would cross out wrong guesses would be nice.
the word is not pre-determined. it changes based on what you are guessing, to make it harder to guess a matching word.
Also definitions would be nice
22 guesses. Seems like the trick is to select letters in their worst positions first so that it later puts them in more favorable positions (e.g. don’t guess Q in the first spot if you can put it anywhere else first.
was thinking of "boyos". You lose!
ALKYL -- took me 14 guesses.

You're a monster.