A game of wordle with suggested words!
Project description
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.
Installation
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 wordle_buddy_manual
.
To play a game in a python terminal, instantiate a WordleGame
object and use the run()
method.
from wordle_buddy import WordleGame
game = WordleGame()
game.run()
To exit, press Esc.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wordle_buddy-0.0.4.tar.gz
(180.6 kB
view hashes)
Built Distribution
wordle_buddy-0.0.4-py3-none-any.whl
(179.4 kB
view hashes)
Close
Hashes for wordle_buddy-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dc86a36247b96a9c5e6ae4dfbc1f91e35e64fb1f565fe3ef8b64b3f7decca31 |
|
MD5 | ac78af9e27d993e2a53e14c1b8cded5e |
|
BLAKE2b-256 | 8e9b2277b3b660d6acfae1dc81f96ba33e7adc74465017bd3800c6671c35e05f |