Wordle is a game in which you have to guess a 5-letter word. Here's a snip from the New York Times website:
Judging the letters is done from left to right. So here is an example that I think covers the corner cases:
One of the features of this game is that you can share your game result with the letters hidden. The idea being that you can see how many turns the person took, and which letters they got right etc.
It got me wondering if there were situations in which the color coding would uniquely specify the answer. And possibly even the guesses.
The first of these turns out to have many solutions. And the second does also. If this game is of interest to the community, I could share more of them, or maybe search for examples with other restrictions. For example, it could be a restriction that the game is played with the strict rules which require you to use letters you've already guessed.
But let me start with two examples, one of which (should) specify the guesses as well as the answer, and the other of which you can deduce the answer even if you can't get all the guesses.
What are the words behind this wordle game?
What is the answer to this wordle game? If I tell you that the first letter of the 3rd word is "C", you can also figure out all the guesses.
Here is a link to a list of valid 5-letter words (you'll need both sets).