Skip to content

karans4/wordle-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

wordle-solver

POSIX compatible SH wordle solver. Should work on MacOS and Linux. It asks you for what you already know about the word, then tells you the word you should try next to maximize your chance of winning. It analyzes the frequencies of the letters in the words that could be the answer and tells you the one with the most common letters. This eliminates words much quicker and identifies the letters of the word faster than randomly choosing one of the words that fits.

Perhaps it's best to explain how it works with a screenshot. screenshot

You can pass in a word list file location as the first argument. Otherwise, it checks it it's at /usr/share/dict/words (the default location).

Requirements

MacOS

You should already have the words list installed. If you don't, then you must have done something weird. Scroll to the last heading.

Debian/Ubuntu

You should already have the words list installed. Try to install a package you found using aptitude search '?provides(wordlist)' if you don't.

Fedora/Red Hat/CentOS/Rocky Linux

Try yum install words.

Arch Linux and Maybe Manjaro Linux

Try pacman -Syu words.

Everyone who doesn't have a words file

You can download one from here. Pass in the location of the file for the first argument.

About

POSIX compatible SH wordle solver. Should work on MacOS and Linux.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages