Skip to content

An entropy- and regex-based Wordle solver written in Scala

License

Notifications You must be signed in to change notification settings

FJShen/wordle_hack

Repository files navigation

wordle_hack, a solver for the popular game WORDLE.

Download

This repo includes a git sub-module located under dictionary/. Simply using git clone git@github.com:FJShen/wordle_hack.git does not download the submodule.

In order to download the submodule along with my repo, use --recurse-submodules like this: git clone --recurse-submodules git@github.com:FJShen/wordle_hack.git

If you have already cloned my repo and the dictionary/ directory is empty, it means the submodule is not cloned. In that case run: git submodule update --init --recursive in the root directory of my project.

How to run

  • Have JVM and sbt installed on your machine.
  • Enter the directory and type sbt run
  • Follow the instructions
  • image

Dictionaries

More than one dictionaries are bundled with this repo.

The directory dictionary/ is a git submodule referencing dolph's dictionary-repo on Github.

Another dictionary is Webster's Unabridged Dicttionary I found from Project Gutenburg's website. This one is located under the directory resources/.

The default dictionary (whose path is hard-coded in source code) is dolph's enable1.txt.

About

An entropy- and regex-based Wordle solver written in Scala

Topics

Resources

License

Stars

Watchers

Forks

Languages