Skip to content

Solves popular word game Wordle in an average of three guesses.

License

Notifications You must be signed in to change notification settings

nathan-probert/wordle-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordle-Solver

About the Program

The wordle-solver program is designed to accurately guess the Wordle word of the day. It achieves this by utilizing a dictionary of possible answers pulled from the site, and a dictionary of common words that are more likely to appear as the word of the day.

The program employs a strategic approach to make the best possible guess. It counts the appearance of each character and its position in each word, then compares these occurrences. The goal is to make a guess that eliminates as many alternate words as possible, thereby increasing the chances of guessing the correct word.

Running the Program

Running the wordle-solver program is straightforward. Follow these steps:

  1. Ensure that you have Java installed on your machine.

  2. First compile the program using (skip this step if you are downloading the .jar release file):
    gradle build

  3. Execute the jar using the following command (Use absolute path if you downloaded the release version):
    java -jar build/libs/wordleSolver.jar
    This is necessary as there is no gui component, double-clicking the jar file will not properly open it.

  4. Follow the prompts in the terminal to use the program.

About

Solves popular word game Wordle in an average of three guesses.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages