Skip to content

SHIRPUREOMKAR/wordle-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wordle-Solver

Run Locally

Clone the project

  git clone https://github.com/SHIRPUREOMKAR/wordle_solver.git

wordle-game.py

This file contains a fully functional wordle game. Run:

python ./wordle_game.py
  • Usage

Just enter the guess_word and it returns the color code for the given wordle word.

  • It also contains a function remote_game_engine()

such that, for eg:

remote_game_engine(original_word, guess_word):
   ...
   ...
   return [0, 2, 1, 0, 1]

for the use in auto_player() function of wordle_solver.py for n random cases

wordle_solver.py

NOTE: This may sometimes produce late / inaccurate results, since recalculates the previous top choices list and doesn't consider new unique choices.

This file contains the wordle solver. Run:

python ./wordle_solver.py
  • Usage

It outputs the top word choices (default = 10) along with the scores (the minimum the better). Just enter the guess_word and the code / pattern you received

for eg:

Enter the guess_word: clown
Enter the received pattern: bggyb

where, b - black/grey, g - green, y - yellow

and it gives the updated top guesses based on the info received.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages