Counterintuitively, this project is an AI that solves Wordle games. If the word inputted is one of the 2,315 that Wordle has or will use in its puzzles, the AI will choose words from the same list, otherwise it uses the list of the ~13,000 words that Wordle recognizes.
If you do not wish to be spoiled, do not read the file /data/puzzle-words
. Unless, of course, you want to cheat to impress your friends with a bunch of first-guess wins. I'm sure they'll never catch on.
git clone [email protected]:dfoverdx/wordle-ai.git
cd wordle-ai
npm install
npm start
After that, open your browser to http://localhost:3001/.
This project, against my better judgment, was written on my iPhone in play.js. That's why the code files have line-lengths of 57, rather than the more standard 120 or 180.
To install and run,
- Open the app
- Tap New Sandbox
- Tap Clone from git directory
- In Repository address, type
[email protected]:dfoverdx/wordle-ai.git
- I'm too lazy to determine the next steps
- You're smart; you'll figure it out
- Alternatively, you're not smart; you won't figure it out. You may skip the next steps! 🥳
- Tap the
▶️ button - Tap the 🌐 button