Hacker News new | past | comments | ask | show | jobs | submit login
Wordle (powerlanguage.co.uk)
76 points by jamespwilliams on Dec 26, 2021 | hide | past | favorite | 35 comments



You could write a bot to minimize the worst-case number of guesses by using a minimax-style tree search with a zero-sum two-player perfect-information version of the game. Here's how that could work.

There are two players, Guesser and Responder, who share a dictionary of words. Responder starts the game by stating a positive integer N, where there is at least one word of length N in the dictionary. The turns then alternate between Guesser and Responder. Guesser proposes any dictionary word of length N, and Responder then provides feedback on each letter in the word (i.e., right letter in wrong place, right letter in right place, wrong letter) such that at least one N-letter word in the dictionary is consistent with all the feedback given so far.

The game ends when Responder indicates that Guesser's word is correct in all places, or after responder has provided feedback 6 times, whichever comes first. If Guesser never guessed the word, Responder gains 7 points. Otherwise, responder gains a number of points equal to the number of turns taken by Guesser.

Alternatively, the bot could minimize the expected number of turns using an expectimax (https://en.wikipedia.org/wiki/Expectiminimax) search, under the assumption that the hidden word was chosen uniformly at random from the set of all dictionary words of the same length.



Someone recently tried to work out what starting word would give you the best head start with this game: https://bert.org/2021/11/24/the-best-starting-word-in-wordle...


Why only one play per day? You have the user’s attention and if they want to engage further they have to wait an arbitrary time (depending on how close it is to the following day), and during that break any manner of things will occur that may distract the user into forgetting to ever come back.


Maybe the designer's vision for this game didn't involve maximizing user engagement metrics?


I’m going to use that excuse the next time my users want something I don’t want to build


Why more than once a day? Perhaps it was the developers vision specifically to make it something people didn't grind through in a day.


The creator gives some of their reasons on why they made this choice in this reddit thread:

https://www.reddit.com/r/WebGames/comments/qwmnmt/wordle_a_d...


Kind of like the puzzles in a newspaper.


You can always open a private window.


... and change the date on your device ;)


Well, I'm hooked. Love the clean design, and actually appreciated how minimal the directions were and the time it took to figure it out at first. That feels like part of the game somehow. And, I like that. Great work!

Ps, got it in 5


Ahh, I thought the directions weren't general but were specific, so I tried the first few attempts using the letters from the directions.

Note to others: the letters in the directions are not specific to today's puzzle! :-)


Oh god thanks.


did the same when I first tried, hah!


Fun fact: this concept is also the basis for a game show on Dutch national TV. I took part two years ago, and spent way too much time optimising our strategy: https://vincenttunru.com/hacking-a-gameshow/

(Discussed on HN at the time: https://news.ycombinator.com/item?id=21796347)


My word had a repeated letter, which doesn’t feel sporting.


Same thing happened to me after playing for a few days the last time this was posted. I checked the directions several times and agonized over what the word could possibly be. In my opinion the possibility of repeated letters should be called out explicitly in the instructions, and maybe also adding a new color of tile for this scenario.


Being that this is basically mastermind with letters, it seems consistent to me.


For anybody that needs it, you can toggle a colorblind mode in the gear-icon setup screen. I was very confused until I realized I couldn't tell whether my correct-but-out-of-place letters weren't actually in the right place.


I got it in 3, but I feel very lucky for doing so. What a nice concept!

I'd love to see a head-to-head version of this, where I could wager against my opponent each turn. I know some very "wordy" friends that would really enjoy trying to outguess and outbet one another.

Suppose we could just use two ipads and accomplish the same thing.

Anyhow. lovely game, thanks for posting!


Took me four attempts but I also feel like I got lucky as in 2nd attempt I guessed 4/5 letters but all were in wrong order (1st attempt was all non-appearing letters). But that of course narrowed things down quite a lot..


Cool game with a nice clean UI! There used to be a game show with a great name, Lingo[0], that combined this Mastermind-style word guessing with Bingo.

[0] https://en.wikipedia.org/wiki/Lingo_(American_game_show)


Interesting game. At the start it seems like an impossible feat but the information you get from even the first couple of guesses can drastically reduce the range of possible solutions.

I got it on the fourth try but it felt like dumb luck. I'll have to try again tomorrow to see if it was.


Third try, nice! Does anyone know of an open source version of this, like Lexica[1]?

[1] https://f-droid.org/en/packages/com.serwylo.lexica/


A game inspired by this one but not limited to one play a day showed up on HN recently (to some apparent controversy):

https://news.ycombinator.com/item?id=29534860


Though the wordle creator doesn't seem troubled at all: https://news.ycombinator.com/item?id=29605494


Got it on the sixth try. That’s a fun game but I was confused by the design at first. Numbering each guess might have eased my confusion quicker.


I don't get it, how do I play this?


Took me a bit to figure it out. Each row is an attempt. I'm on mobile so after you put in a five letter word you need to tap on the "enter" key which weirdly is on the left side of the virtual keyboard. Once you press enter it will show you the results of that row and you keep trying for the remaining rows.


Type a 5 letter word in. It must be a real word (in its word list). The letters will be highlighted according to the instructions it pops up on load. You can then try another word. 6 tries to get the right word.

The fact that each try needs to be a real world is not stated in the instructions, which confused me too.


First guess was "black" Second guess was correct It feels too lucky


My last guess was jewry, but it's not in the word list ?!


That was fun! I struggled very hard but got it on the fifth try


A fun mashup between mastermind and a crossword




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: