Created by Rachel Lawrence and Alex Reinking
Depends on Python 3.10+. Create a virtual environment:
$ python3.10 -m venv venv
$ . venv/bin/activate
$ python -m pip install -U pip setuptools
$ python -m pip install -r requirements.txtBy default, running main.py will put you in an interactive mode where you play the game locally.
$ python main.py
>>>: apple
apple π₯π₯π₯π₯π¨
>>>: tinge
apple π₯π₯π₯π₯π¨
tinge π©π₯π₯π₯π¨
>>>: truck
apple π₯π₯π₯π₯π¨
tinge π©π₯π₯π₯π¨
truck π©π₯π₯π₯π₯
>>>: tempo
apple π₯π₯π₯π₯π¨
tinge π©π₯π₯π₯π¨
truck π©π₯π₯π₯π₯
tempo π©π©π₯π₯π₯
>>>: teeth
apple π₯π₯π₯π₯π¨
tinge π©π₯π₯π₯π¨
truck π©π₯π₯π₯π₯
tempo π©π©π₯π₯π₯
teeth π©π©π¨π¨π₯
>>>: teddy
apple π₯π₯π₯π₯π¨
tinge π©π₯π₯π₯π¨
truck π©π₯π₯π₯π₯
tempo π©π©π₯π₯π₯
teeth π©π©π¨π¨π₯
teddy π©π©π©π©π©
Guesser won!To solve the online wordle, override the Guesser to be the cpu and the Czar to be remote:
$ python main.py --guesser cpu --czar remote
hint for arose: x??xx
arose π₯π¨π¨π₯π₯
hint for yourt: x*x?*
arose π₯π¨π¨π₯π₯
yourt π₯π©π₯π¨π©
hint for biros: ?x?*x
arose π₯π¨π¨π₯π₯
yourt π₯π©π₯π¨π©
biros π¨π₯π¨π©π₯
hint for robot: *****
arose π₯π¨π¨π₯π₯
yourt π₯π©π₯π¨π©
biros π¨π₯π¨π©π₯
robot π©π©π©π©π©
Guesser won!Notice that when it asks for a hint for a guess, it expects one character per letter in the word, in the following format:
x- the letter is incorrect?- the letter appears in the word, but not in that spot*- the letter is in the correct spot