An open API service indexing awesome lists of open source software.

https://github.com/woctezuma/3b1b-wordle-solver

Solve Wordle and Dungleon puzzles with information theory.
https://github.com/woctezuma/3b1b-wordle-solver

3b1b 3b1b-manim 3b1b-videos 3blue1brown dungleon dungleon-game dungleon-solver entropy max-entropy maxent maximum-entropy maximum-entropy-method wordle wordle-assistant wordle-cheats wordle-game wordle-helper wordle-python wordle-solution wordle-solver

Last synced: 6 months ago
JSON representation

Solve Wordle and Dungleon puzzles with information theory.

Awesome Lists containing this project

README

        

# 3b1b's Wordle solver

[![Code Quality][codacy-image]][codacy]

This repository contains Python code to solve Wordle puzzles with information theory.

## Requirements

- Install the latest version of [Python 3.X][python-download-url] (at least version 3.10).
- Install the required packages:

```bash
pip install -r requirements.txt
```

## Usage

To print an exhaustive list of command-line arguments, run:

```bash
python simulations.py --help
```

Choose the game with `--game-name`:

```bash
python simulations.py --game-name wordle
```

```bash
python simulations.py --game-name dungleon
```

Alternatively, run [`wordle_solver.ipynb`][colab-notebook]
[![Open In Colab][colab-badge]][colab-notebook]

## Results

Results are shown [on the Wiki][wiki-results].

## References

- 3Blue1Brown, [*Solving Wordle using information theory*][youtube-video], posted on Youtube on February 6, 2022,
- [`3b1b/videos`][youtube-supplementary-code]: supplementary code (in Python) accompanying the aforementioned video,
- [`woctezuma/dungleon-bot`][dungleon-bot]: the application of different solvers to [Dungleon][dungleon-rules],
- [`woctezuma/Wordle-Bot`][wordle-bot-python-fork]: an extremely slow solver, mentioning some results.

[codacy]:
[codacy-image]:

[python-download-url]:
[colab-notebook]:
[colab-badge]:
[wiki-results]:

[youtube-video]:
[youtube-supplementary-code]:
[dungleon-bot]:
[dungleon-rules]:
[wordle-bot-python-fork]: