a Python script that simulates a Wordle-solving tree:
-
Using
char5.txtas the word list (all 5-letter words). -
First guess is
"audio". -
Clues are given using
"bgy"(blue, green, yellow). -
Explore up to 4 guesses deep, but stop further exploration if a solution is found (
ggggg). -
Keep track of prior guesses and clues.
-
Sort outputs based on clue combinations for readability.
Wordle-solving tree simulator in Python that:
-
Uses
char5.txt(5-letter words) -
First guess is
"audio" -
Clues are
"b"(gray),"y"(yellow),"g"(green) -
Explores up to 4 guesses deep
-
Stops a branch if the solution is found (
ggggg) -
Outputs each path in one line
-
Keeps track of previous guesses/clues
-
Sorts outputs by clue patterns
No comments:
Post a Comment