CLI-based Python recreation of Wordle with color support.
Current wordsets include: wordle
, lewdle
, and the Stanford 5-letter word list (stanford
).
Tested with Python 3.9 and 3.10.
Run it in the terminal, like this:
PATH_TO_DIRECTORY/pyrdle/python3 main.py [wordset]
If no wordset argument is passed in, or the argument is not in the wordset list, the game will prompt you to choose a wordset. Otherwise, the game will automatically start with the given wordset name.
You get 6 guesses. Entering ?????
will reveal the answer and end the round.
If you didn't know already, GREENS are exact matches, YELLOWS are in the answer but in a different spot, while GRAYS are not in the answer.
termcolor: pip install termcolor
- Fixed: when calculating the answer, YELLOW and GREEN guesses are treated the same (as "0") and will make the game exit once every letter is at least a YELLOW.
- Wordle wordset (
./wordsets/wordle
): Kinkelin, https://github.com/Kinkelin/WordleCompetition/blob/main/data/official/combined_wordlist.txt.- Adapted under the CC-BY-SA 3.0 Unported license:
- Deleted comment on first line.
- Adapted under the CC-BY-SA 3.0 Unported license: