wordle-buddy

A game of wordle with suggested words!


License
MIT
Install
pip install wordle-buddy==0.0.4

Documentation

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.