| title | emoji | colorFrom | colorTo | sdk | app_file | pinned |
|---|---|---|---|---|---|---|
Wordle Assistant |
🔤 |
blue |
purple |
docker |
main.py |
false |
An assistant to solve Wordle puzzles by suggesting the best next guess based on your previous guesses and feedback. This assistant is designed for targets that are not historical Wordle answers (i.e., it has a static vocabulary of 12k allowed guesses excluding the historical answers updated daily).
Uses information theory to recommend the best next guess. More about entropy
Make sure you have Python installed, then install Mesop:
pip install -r requirements.txtmesop main.pyOpen your browser and navigate to:
http://localhost:32123
-
Enter Your Guess:
- Type your 5-letter guess in the "Your Guess" field (e.g.,
CRANE).
- Type your 5-letter guess in the "Your Guess" field (e.g.,
-
Enter Feedback:
- Enter the feedback you received for your guess (e.g.,
GXXYXfor 🟩⬛⬛🟨⬛). - Use:
Gfor green (correct letter in the correct position).Yfor yellow (correct letter in the wrong position).Xfor gray (letter not in the word).
- Enter the feedback you received for your guess (e.g.,
-
Submit:
- Click the "Submit" button to update the assistant.
-
View Suggestions:
- The assistant will display:
- The remaining possible words.
- The top recommended next guess.
- The assistant will display:
-
Repeat:
- Use the recommended guess in your next Wordle attempt.
- Enter the new feedback and repeat the process until you solve the puzzle.
-
get_feedback_pattern:- Simulates Wordle feedback for a given guess and target.
-
filter_possible_targets:- Filters the remaining possible words based on the guess and feedback.
-
calculate_entropy:- Computes the entropy of a candidate word to measure its information gain.
-
get_top_suggestion:- Finds the single best next guess based on entropy.
-
handle_submit:- Updates the state with the new guess and feedback.