A game of wordle with suggested words!
A Python package to play Wordle
My reproduction of the popular game (the real one here). The implementation also suggests the top ten words, based on their entropy. Experiments have revealed choosing the maximum-entropy guess (i.e., the top suggestion) will lead to 3.6 guesses on average.
Documentation available on ReadTheDocs.
pip install wordle-buddy
Play a game
To play via the command line, simply run the
wordle_buddy command. To play in "manual mode", where you enter in the resulting colors, run
To play a game in a python terminal, instantiate a
WordleGame object and use the
from wordle_buddy import WordleGame game = WordleGame() game.run()
To exit, press Esc.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
wordle_buddy-0.0.4.tar.gz (180.6 kB view hashes)
wordle_buddy-0.0.4-py3-none-any.whl (179.4 kB view hashes)
Hashes for wordle_buddy-0.0.4-py3-none-any.whl