Skip to content

lyhsieh/wordle-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordle Solver

Author: Leo

Environment Requirements

  • Python3 (Python2 is NOT accepted.)

Demo Video

Getting Started

  1. clone the repo
git clone https://github.com/LeoTheBestCoder/wordle-solver
  1. go into the directory
cd wordle-solver
  1. execute the python script run.py (Please ignore construct.py)
python3 run.py

It should look like this.

Press ENTER to continue.

Later, if the result is GREEN (correct character + correct position), enter 0.
If the result is YELLOW (correct character + wrong position), enter 1.
If the result is RED (wrong character), enter 2.

CAUTION!!!
If the result isn't correctly entered, the program will be terminated right away. So, refer to the following example or demo video, and be extremely careful when entering the result.

It tells you to guess "laxer" as the first attempt, so enter laxer into the wordle game.

The result is YELLOW YELLOW GRAY GRAY YELLOW, so enter 11221 in the terminal. Then, go back to website and guess next word, gnarl.

The result is GRAY GRAY YELLOW GREEN YELLOW, so enter 22101 in the terminal. Then, go back to website and guess next word, flora.

The result is GRAY GREEN GRAY GREEN GREEN, so enter 20200 in the terminal. Then, go back to website and guess next word, ultra.

We got the correct answer!! Since the result is all GREEN, so enter 00000 in the terminal and the program will congratulate you!