Skip to content

This python script that can solve Wordle puzzle 🤖

License

Notifications You must be signed in to change notification settings

Mo-Shakib/Wordle-Solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordle Solver

© Mohammad Shakib, 2022.

This python script to solve Wordle 99% of the time within 6 attempts.

You can go ahead and run main.py to run it for all 2315 Wordle words and it solves 99% of them correctly within 6 attempts.

Instructions

  • Clone the repo: git clone https://github.com/Mo-Shakib/Wordle-Solver.git
  • Run: main.py

If you get any green block, you must maintain the position

For example:
Screenshot 2022-02-21 at 5 34 58 AM Screenshot 2022-02-21 at 5 37 04 AM
Screenshot 2022-02-21 at 5 37 51 AM Screenshot 2022-02-21 at 5 38 16 AM

then you need to enter _ for white blocks and the letter in position -> _ b _ _ d For yellow blocks, you just need to enter the letters, separated by space.

Disclaimer: There are lots of scope to optimize the solving part and minimize redundant calculations. Any contribution is welcome.

Total time