This is a Wordle Solver built in Python. It helps you out by suggesting the best next guess when you play Wordle, based on the clues you've entered so far. It uses a neat list of five-letter words and some smart filtering based on your game feedback (like those green, yellow, and gray responses you get after each guess).
- Smart Filtering: The tool filters out words that don't match your game's feedback.
- Best Guess Suggestion: It suggests the most strategic next guess to help you crack the word faster.
- Interactive Gameplay: You get to input your guesses and see suggestions in real-time through a simple command-line interface.
Make sure you've got:
- Python 3.6 or newer
- NLTK library (don't worry, I'll show you how to install it below)
To install NLTK, just open up your terminal and punch in:
pip install nltk- Grab the Code:
Clone this repo or download the zip and unpack it wherever you like:
git clone https://github.com/RohanBha1/WordleSolver.git cd WordleSolver - Fire It Up:
Start the solver by running:
python WordleSolver.py
- Kick things off by running the script.
- Type your guesses when prompted.
- Enter the feedback after each guess using 'g' for green, 'y' for yellow, and '_' for gray.
- Take the hints—the solver tells you how many words are left and what to guess next.
Got ideas or improvements? Feel free to fork this repo, tweak it, and send a pull request my way.
This project is open-sourced under the MIT License. Check out the LICENSE file for more details.