Skip to content

Solve Wordle puzzles effortlessly. Compute the best words to start with any given language.

Notifications You must be signed in to change notification settings

JonathanCortes/WordleSolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordle Solver

Solve Wordle puzzles effortlessly. Compute the best words to start with any given language.

Usage

  1. Compile and run WordleSolver.java with any tool supporting Java version 16+ and follow the instructions displayed in the console.

  2. (Optional) Change wordSize if your Wordle game uses word sizes other than 5.

  3. (Optional) Change wordsFilename if your Wordle game uses a language other than English. This project comes bundled with text files containing all English and Spanish words. You can add support for any other language by obtaining a text file containing all its words and changing wordsFilename accordingly.

The first time the program is run for any given wordsFilename will generate a filtered version of the file (to speed up subsequent queries) and display useful information (letter frequency and best words to start with).

The user is expected to input each word introduced in the game in the format "chair _y__g" where:

  • 'chair' is the word introduced.
  • '_' means the letter in that position is gray (not in the secret word).
  • 'y' means the letter in that position is yellow (in the secret word but in the wrong spot).
  • 'g' means the letter in that position is green (in the secret word and in the correct spot).

About

Solve Wordle puzzles effortlessly. Compute the best words to start with any given language.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages