Play at wardl.co
wardl is Wordle but the target word changes by one letter everytime you guess wrong.
Originally a fork of the incredibly helpful hello-wordl, provided via an (MIT License). This project changed the game significantly enough that I can't make PRs, so I made a separate repo.
-
Targets come from hello-wordl's edits to Peter Norvig's English word frequency list. I've further reduced the list to only 5 letter words.
-
Dictionary (to check guesses) come from Official Tournament and Club Word List used in North American Scrabble tournaments. This is also from hello-wordl, and I don't know where this came from online.
To run the code locally,
- install Node.js and npm.
- In this directory, run
npm install
followed bynpx netlify dev
. wardl will be running at http://localhost:8888. Any changes you make to the source code will be reflected there. - Have fun!
Share local build over the internet: netlify dev --live
Tests are written in Jest. Run with npm run test
There are scripts to update the lists.
- To update possible targets, run
npm run reduceTargets
- To reduce the dictionary, run
npm run reduceDictionary
Any commit to the main will trigger a deploy using netlify.
From Updating npm dependencies:
- Run
npm outdated
- If that all looks good, run
npm update
To fix vulnerabilits (on the command line or in github):
- Run
npm audit --production
to build the full audit report - Run
npm audit fix --production
to fix any that can be fixed without breaking changes - If needed, run
npm audit fix --force --production
to fix all, even if they will make breaking changes
View license at the link below! MIT
You can contact me at @BrianDoesImprov on Twitter