Skip to main content

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


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 details)

Uploaded Source

Built Distribution

wordle_buddy-0.0.4-py3-none-any.whl (179.4 kB view details)

Uploaded Python 3

File details

Details for the file wordle_buddy-0.0.4.tar.gz.

File metadata

  • Download URL: wordle_buddy-0.0.4.tar.gz
  • Upload date:
  • Size: 180.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for wordle_buddy-0.0.4.tar.gz
Algorithm Hash digest
SHA256 79a723045925292ecddfda08b6cca1b318e213764c772ea3b36e4f23a32465c7
MD5 63794ed01832fe5df1199590927d7226
BLAKE2b-256 074fdfdcb67189e29a74c03f3dc45c2528e6855e096fcc4247f729087b004165

See more details on using hashes here.

File details

Details for the file wordle_buddy-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: wordle_buddy-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 179.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for wordle_buddy-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9dc86a36247b96a9c5e6ae4dfbc1f91e35e64fb1f565fe3ef8b64b3f7decca31
MD5 ac78af9e27d993e2a53e14c1b8cded5e
BLAKE2b-256 8e9b2277b3b660d6acfae1dc81f96ba33e7adc74465017bd3800c6671c35e05f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page