Wordle strikes me as a variation of Mastermind / Cows & Bulls / Moo, using alpha instead of digits, or colors. See https://code.jsoftware.com/wiki/Essays/moo -by Roger Hui, which plays moo as the guesser. There's a useful list of links at the end.
I can't see an alternative to the brute force approach: start with a (published) list of English words and repeatedly prune it using the feedback. Having implemented a Mastermind guesser ca. 1989 (and lost the APL code) I recall that the list shortens rapidly, but only if you make maximum use of the feedback info. On Mon, 24 Jan 2022 at 14:09, bill lam <[email protected]> wrote: > The game wordle in the website. > > https://www.powerlanguage.co.uk/wordle/ > > Any idea of how to generate a list of candidates words after new > information from each row? > > Eg, > > T H I E F # all wrong > R A D O N # O and N are there but misplaced > > what is the list of words for the 3rd row? > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
