Skip to content

anniebryan/wordle-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordle Solver

How do you play wordle?

Screenshot of the NY Times Wordle page (Source: NY Times)

How does this wordle solver work?

This wordle solver uses the information provided from each guess to narrow down the remaining list of 5-letter english words that could be the solution. From there, the wordle solver determines the most likely words (i.e. the best words to guess next). It does this using a combination of word frequencies (provided by wordfreq) and the expected number of words remaining if guessed (which wordle solver aims to minimize).

How to use the command-line wordle solver

  1. Download the repo
  2. git clone https://github.com/anniebryan/wordle-solver
    
  3. Run the wordle solver
  4. cd wordle-solver
    python3 wordle-solver.py
    
  5. Open wordle, and guess a word.
  6. Type the word you guessed into the wordle solver, and press enter.
  7. Type the result that wordle gave you into the wordle solver, and press enter.
    • Use b for ⬛ (the letter is not in the word)
    • Use y for 🟨 (the letter is in the word but in the wrong spot)
    • Use g for 🟩 (the letter is in the correct spot)

Example

🚨Warning: the video below contains spoilers for day 368 (June 22) Using the wordle solver

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published