WorldSEnder / wordle-mind

A mastermind-like bot for the wordle game (https://powerlanguage.co.uk/wordle/)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automating wordle

To use this, switch to the python directory, then install the requirements into a virtual environment:

python -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt

When first running, it will compute all possible wordles from the dictionary and the list of additional possible guesses. This information is cached and will be available on future runs. Simply run

python analyze.py

The bot will propose words it wants you to play and you resond with the colors the puzzle returns for the guess. Example session:

(.venv) $ python analyze.py 
Analyzing possible guesses: 100%|██████████████████████████| 12972/12972 [00:08<00:00, 1460.80it/s]
Play the word 'raise' next: ...GG
Analyzing possible guesses: 100%|████████████████████████| 12972/12972 [00:00<00:00, 120361.36it/s]
Play the word 'cloth' next: ..GYY
You win by playing 'those'

About

A mastermind-like bot for the wordle game (https://powerlanguage.co.uk/wordle/)


Languages

Language:Python 100.0%