Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yet another Wordle solver!

https://github.com/nikitaborisov/autowordl

We choose the guess that is expected to result in the smallest set of possible solutions after one guess.

For the secret answer "QUERY" it suggests the following sequence of guesses:

1. LARES

90 possible answers after this guess.

2. GROUT

Only four possibilities now: ['ENURE', 'INURE', 'QUERY', 'QUIRE']

3. BRIBE

This narrows the field down to one possibility:

4. QUERY



For that third guess, you could just use QUIRE. Still reduces the possibilities to one, but has a chance of getting the right answer one step sooner. In general, favouring something within the possibilities, where it doesn't pessimise, might reduce your search tree a bit.


Yup, I definitely agree. I haven't implemented smart tie-breaking logic yet.




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

Search: