Skip to content

ItsVaidas/wordle-guesser-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple wordly Python guesser

App has two dictionaries: wordly with 2315 words and random list with 5757 words. All words contain 5 letters.

To launch the app you just need to enter python3 bot.py to a terminal while being in that directory.

After launching the app it will ask if you want it to be in a simulation mode "y" or user input mode "n". The application then runs in selected mode.

Simulation mode: Application will begin to test each word in la-words.txt file and try to guess that word. The frequencies will be displayed on screen. When the application finishes up, it will show the average amount of guesses it took to find the word and frequencies of each guess.

Input mode: A word will be displayed in the terminal of which word to enter. The first word will always be "CRANE". After you enter that word to wordly, you will need to write the result in the app. w - incorrect letter g - correct letter in correct position y - correct letter in incorrect position example: ggwwy From it the application will display the second word to enter to wordly. Repeat this process until you have been given the correct word.

Performance: Current performance of this app is 3.56 average guesses.

Average guesses: 3.56

Guessed frequency: {1: 1, 2: 141, 3: 1017, 4: 927, 5: 182, 6: 35, 7: 8, 8: 4}

About

A Python app to guess the word for wordly

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages