Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/astropilot/wordle_solver
A small web extension to automatically solve the Wordle game (https://www.powerlanguage.co.uk/wordle/)
https://github.com/astropilot/wordle_solver
algorithm typescript web-extension wordle
Last synced: 3 days ago
JSON representation
A small web extension to automatically solve the Wordle game (https://www.powerlanguage.co.uk/wordle/)
- Host: GitHub
- URL: https://github.com/astropilot/wordle_solver
- Owner: Astropilot
- License: mit
- Created: 2022-01-20T18:47:57.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-21T23:33:42.000Z (almost 3 years ago)
- Last Synced: 2024-11-14T12:55:06.177Z (2 months ago)
- Topics: algorithm, typescript, web-extension, wordle
- Language: JavaScript
- Homepage:
- Size: 188 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ
๐ฉโฌ๐จโฌโฌโฌ๐จโฌ๐จ๐จ๐จ๐จโฌ๐จ๐จ๐จ๐จโฌ๐จ๐จโฌโฌโฌ๐จโฌโฌโฌ๐จ๐จ๐จโฌ๐ฉ
๐ฉโฌ๐จโฌโฌโฌ๐จโฌ๐จโฌโฌ๐จโฌ๐จโฌโฌ๐จโฌ๐จโฌ๐จโฌโฌ๐จโฌโฌโฌ๐จโฌโฌโฌ๐ฉ
๐ฉโฌ๐จโฌโฌโฌ๐จโฌ๐จโฌโฌ๐จโฌ๐จ๐จ๐จโฌโฌ๐จโฌโฌ๐จโฌ๐จโฌโฌโฌ๐จ๐จ๐จโฌ๐ฉ
๐ฉโฌ๐จโฌ๐จโฌ๐จโฌ๐จโฌโฌ๐จโฌ๐จโฌ๐จ๐จโฌ๐จโฌ๐จโฌโฌ๐จโฌโฌโฌ๐จโฌโฌโฌ๐ฉ
๐ฉโฌโฌ๐จโฌ๐จโฌโฌ๐จ๐จ๐จ๐จโฌ๐จโฌโฌ๐จโฌ๐จ๐จโฌโฌโฌ๐จ๐จ๐จโฌ๐จ๐จ๐จโฌ๐ฉ
๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ
Wordle Solver
## A propos
> โ ๏ธ **No version available yet**: The links above do not work yet, please wait a few days
This small browser extension allows you to automatically solve the [Wordle](https://powerlanguage.co.uk/wordle/) game. The algorithm will try to guess the word from a dictionary of English words and from the clues given by the game (misplaced letters, well placed or not present in the word).
This project has no great vocation, the idea came to me while playing Wordle and trying to understand the types of information that could be retrieved from the given clues.
I thought it would be challenging to program with the hints, rules to filter on a list of words and see how the program does. And for the moment it does well ;)To use it, just install the extension, go to the Wordle page and after 2-3sec you will see a "Solve!" button below the keyboard. Just press it and let the magic of the algorithm work!
**Note**: If the button does not appear it is most likely because you have already won/lost or started the game. My program waits for an unstarted game to run.## Build/Run
### Prerequisites
* [Node.js](https://nodejs.org) v14+ and [npm.js](https://www.npmjs.com) v6+
* A web browser like [Firefox](https://www.mozilla.org/fr/firefox/new), [Chrome](https://www.google.fr/chrome) or [Edge](https://www.microsoft.com/edge)To compile the extension
```sh
$ cd src/
$ npm install
$ npm run build
```A `distribution/` folder is now created containing all the files for the web extension.
Now you just have to load the application in your web browser.You can use the following commands to open a Firefox or Chrome instance on a separate profile with the extension directly loaded and with the Wordle site open at startup:
```sh
# To launch an instance of Chrome
$ npm run start# To launch an instance of Firefox
$ npm run start:firefox
```Otherwise you can load the extension manually with the following instructions:
* Firefox
* Type `about:debugging` in your address bar
* Go to the tab on the left `This Firefox`.
* In the `Temporary Extensions` section click on `Load a temporary add-on...` and navigate to the `distribution/` folder and choose the `manifest.json` file then `Open`.
* The extension is now loaded and usable* Chrome / Edge
* Go to `chrome://extensions/` for Chrome or `edge://extensions/` for Edge
* Activate the `Developer Mode`.
* Click on `Load Unpacked Extension` / `Load Unpacked Item` then navigate to the `distribution/` folder and click OK
* The extension is now loaded and usableTo automatically update the extension when you modify a file, use the command
```sh
$ npm run watch
```## Licence
[MIT - LICENSE File](https://github.com/Astropilot/Wordle_Solver/blob/master/LICENSE)
---
> [Yohann Martin (@Astropilot)](https://codexus.fr) ย ยทย
> 2022