Skip to content

abscosmos/WordleSolver

Repository files navigation

Wordle Solver

A console program to optimally guess the word in NYT's Wordle.

Showcase image

Wordle?

In Wordle, you have six tries to guess a five letter word. After every guess you're told what letters are in the right spot (green), what letters are in the word but in the wrong spot (yellow), and what letters aren't in the word (gray). If playing optimally, as this solver does, every word can be guessed in at most five tries, so the game is always winnable. Most words are guessed in three to four tries.

Usage

  1. Download the latest release from releases/latest, or download the source code & compile using MSVC.
  2. Ensure you have the following files (which are with the source code or in releases):
  • An allowed words list (all words that can be guessed) at ./lists/allowed.txt
  • An answer words list (all words that are possible answers) at ./lists/answers.txt
  1. Run the executable, and follow along with the instructions given.

Word List

The word lists (lists/allowed.txt, lists/answers.txt) were made from Wordle word set found at https://www.nytimes.com/games/wordle/.

About

A console program to optimally guess the word in NYT's Wordle.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages