An entropy-based strategy to wordle

Inspired by 3Blue1Brown

Install & Run

  1. Clone the script:
git clone https://github.com/GillesVandewiele/Wordle-Bot.git
  1. Install tqdm and scipy
(python -m) pip install tqdm scipy
  1. Run the script (it will generate 10 random words and apply the strategy)
python wordle.py
  1. There are some lines commented that will allow you to play interactively to solve the Wordle of the day.


Example of execution


I let the bot guess all the words in our word-list and generated a histogram of the required guesses. Can you do better?