Lirdle - Like Wordle, but with one lie per answer
February 22, 2023 11:26 AM   Subscribe

Lirdle - Like Wordle, but with one lie per answer
Yet another Wordle clone, but this one is designed to be maddening in the way a debugging session can be. For each answer you give, it picks one square at random and assigns it the wrong answer.

If the UI looks familiar, it's because I found a wordle-construction kit and found the code worked for me. I've rewritten all the code, but haven't done much with the CSS. That will change as I add more functionality.

The word-list is the same word-list that came with the original wordle game when it was a pure client-side game.
Role: Came up with the concept and programmed it
posted by morspin (8 comments total) 4 users marked this as a favorite
This project was posted to MetaFilter by curious nu on February 23, 2023: Lirdle - Like Wordle, but with one lie per answer

Oh my goodness you monster I want to anti-vote this. (voted for it anyway)
posted by curious nu at 5:31 PM on February 22, 2023

I've been getting great suggestions from friends.

Now you can click on a letter to mark it as "wrong".

In return, you can no longer submit the same word twice.
posted by morspin at 7:57 PM on February 22, 2023

Is it possible to finish? It keeps adding a line when I enter the last word.
posted by Mister Moofoo at 7:34 AM on February 23, 2023

Yes, it will finish when you get it right, it seems. Took me 13 guesses to find that out
posted by solotoro at 8:08 AM on February 23, 2023

Mine lied twice in a line. If you have a letter that appears twice, and you use the letter twice in a line, it will mark both of the double letters as misplaced even if one of them is correct.

Example, if the word is STEED and you guess BEETS, and it lies about one of the consonants, it will mark both E's as "misplaced", even though one of them is correct. It's like the game is labeling each E as different and thinks I got the third position E in the second slot, and the 4th position E in the third slot (instead of thinking that the second position E is misplaced, and the third position is correct).

It's possible that I just hit a bug in today's game though, and maybe this doesn't happen with every double-letter puzzle.

Not sure! Thanks though.
posted by pol at 9:57 AM on February 23, 2023

Hi pol, I don't have any records of all of people''s game play, but here's a definite possibility.
Target word:    S  T  E  E  D

Your guess:     B  E  E  T  S

Raw score:      0  1  2  1  1   -- 0: miss, 1: right letter, wrong pos, 2: right letter, right pos
System randomly picks position #3 to change

and flips a coin to determine how to change it. The math for this is:

( + (heads ? -1 : +1)) and does some fancy math to ensure the new value is 0, 1, or 2

so it picks position 3, flips a heads, so the math is (2 - 1) = 1, and now you see
Target word:    S  T  E  E  D

Your guess:     B  E  E  T  S

Raw score:      0  1  1  1  1
... one grey, and four yellows

If it instead picked position #2 and *added* 1, your answer would be:
Target word:    S  T  E  E  D

Your guess:     B  E  E  T  S

Raw score:      0  2  2  1  1
two greens and two yellows.

So one small change gets a very different response.

posted by morspin at 11:19 PM on February 23, 2023

You know what ... it was a bug! The lying obfuscated it. It's fixed now.
posted by morspin at 11:25 AM on March 5, 2023

I am terrible at this! But it's fun to keep coming back to.

Today I had a guess that was only one letter off, and because of the lie chosen (green for the wrong letter), it looked like I'd solved it! The next line came up to keep going, so I knew I hadn't, but it was still a funny moment.
posted by solotoro at 8:41 AM on March 28, 2023

« Older Word Searches for Dad...   |   Corky Lee and the Work of Seei... Newer »

You are not currently logged in. Log in or create a new account to post comments.