An interactive solver for the word game Wordle
Table of Contents
This Wordle solver is based on linear search within a solution set sorted by probability and confidence score closest to latest attempt while eliminating out characters which don't appear or appear in the wrong position.
This project uses Python3 and its in-built libs only.
- collections.Counter
- itertools.chain
- pathlib
- operator
Clone this repo to your folder by using for
HTTPS:
https://github.com/prashanth-up/Wordle.git
GITHUB CLI
gh repo clone prashanth-up/Wordle
-
Run the Wordle.ipynb till the last cell where
Solve()
triggers the game to start. -
Try one of the top suggestions presented by the Bot into your Game.
-
Enter the colour coded score(Green, Yellow, Grey) as (2, 1, 0) respectively into the interactive input shell
-
Repeat
Step 2 and Step 3
until you get your solution is accepted by wordle. (Avg Attemps 3.5)
Here the solution was MONTH
on (March 9, 2022)
Contribute before everyone forgets this game. Then this will be sent to archive hell.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Prashanth Umapathy - ujprashant@gmail.com
Project Link: https://github.com/prashanth-up/Wordle/