Wordle Solver

Program to solve the wordle puzzle

ยท 1 min read

dotfiles

Github: wordle-solver

About

"Wordle" Wikipedia, The Free Encyclopedia:

Wordle is a web-based word game created and developed by Welsh software engineer Josh Wardle. Players have six attempts to guess a five-letter word, with feedback given for each guess in the form of colored tiles indicating when letters match or occupy the correct position.

Running

Cloning the repository

git clone https://github.com/animesh-chouhan/wordle-solver.git
cd wordle-solver

Install requirements

pip install -r requirements.txt

Run

python3 main.py 2> log.txt

Example

preview

Output

Word is: phony
Guessed in 4 tries
Wordle 862 4/6

โฌœ๐ŸŸจโฌœโฌœ๐ŸŸฉ
โฌœ๐ŸŸจ๐ŸŸฉโฌœ๐ŸŸฉ
๐ŸŸฉโฌœ๐ŸŸฉ๐ŸŸฉ๐ŸŸฉ
๐ŸŸฉ๐ŸŸฉ๐ŸŸฉ๐ŸŸฉ๐ŸŸฉ

Built With

  • pyppeteer - Python port of puppeteer JavaScript (headless) chrome/chromium browser automation library