how to set up 3blue1brown wordle solver
Here’s the simplest way to set up the 3Blue1Brown Wordle solver:
What to use
The reference repo is woctezuma/3b1b-wordle-solver , which contains Python
code for solving Wordle with information theory and entropy. It requires
Python 3.x, at least 3.10, plus the dependencies listed in requirements.txt.
Setup steps
- Install Python 3.10 or newer.
- Clone the repository.
-
Install the packages:
bash pip install -r requirements.txt
4. Run the help screen to see available options:
bash
python simulations.py --help
5. Start a Wordle simulation:
bash
python simulations.py --game-name wordle
Notebook option
If you prefer a notebook workflow, the repo also mentions
wordle_solver.ipynb as an alternative way to run it.
What it’s based on
The solver is inspired by 3Blue1Brown’s video “Solving Wordle using information theory” , which explains the entropy-based approach and links to the code used for the video.
Practical notes
- This is a Python project, so a virtual environment is a good idea before installing dependencies.
- The repo also supports
dungleon, butwordleis the option you want for Wordle.
Mini checklist
- Python installed.
- Repo cloned.
- Dependencies installed.
simulations.pyrun with--game-name wordle.
TL;DR: install Python 3.10+, run pip install -r requirements.txt, then
launch python simulations.py --game-name wordle.