Skip to content

Generates the list of 5-letter words that is close to what the wordle web site uses.

License

Notifications You must be signed in to change notification settings

oldfartdeveloper/wordle-generate-word-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Objective

From a master English word list, filter to only keep words that:

  • Are exactly 5 characters long.
  • All characters are lower-case. This eliminates people and place names that wouldn't be considered in a game such as wordle.

The master word file was copied from a gist file.

Installation

This has been tested on an iMac running MacOS Monterey. These instructions will largely work for Linux; on Windows, YMMV.

  1. Clone this repo to your PureScript projects folder
    git clone https://github.com/oldfartdeveloper/wordle-generate-word-list.git
  2. Follow the GitHub instructions. There are simple examples of how to perform the most important PureScript development operations.
  3. cd into the new repo's directory.
  4. spago build. It should build successfully

Running the Application

To generate the text file containing the 5-letter words:

  1. Be sure you are in the project directory.
  2. Run spago run
  3. Verify that the file has been generated as doc/words.txt. It should have the current time stamp.

If you haven't already, clone and install the wordle-solver repo which will use this project's generated file.

About

Generates the list of 5-letter words that is close to what the wordle web site uses.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published