Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

mkaufmann84/Wordle-Solver-Java

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
6 Commits
 
 
 
 

Repository files navigation

This is a wordle solver that outputs possible words to guess for Wordle based on an input done in Java.


Documentation: UNDERSTANDING HOW TO EDIT JAVA. GO INTO MAIN METHOD, AND EDIT THE STUFF AS FOLLOWING FOR THE p.solve(...)
ALSO, USE WITH WORD WRAP OFF AS WORDS ARE HARD CODED INTO FILE.


FIRST ARGUEMENT IN SOLVE IS CHARACTERS THAT CANT BE IN WORD. EVERYTHING LOWERCASE

SECOND AND THIRD ELEMENT ARE TIED TOGETHER. THE INDEX MATCH UP SO THAT THE "KEY" in SECOND MATCHES TO THE POSSIBLE POSITIONS IN THE THIRD ARG.
IF letter "a" IS BOTH GREEN IN THE FIRST AND THIRD LETTER IN WORD, and "w" is yellow on the last, THAN ADD:

// inwordKey+="a"; inwordValue.add(new Integer[]{2});
// inwordKey+="a"; inwordValue.add(new Integer[]{0});
// inwordKey+="w"; inwordValue.add(new Integer[]{0,1,2,3});


FOURTH ARGUEMENT IS IF A LETTER CAN NOT OCCUR TWICE, BUT IS IN WORD ONCE. 

THE WORD RETURNS IS THE WORD THAT CROSSES OUT THE MOST OTHER WORDS BY LOOKING AT IF A WORD WAS CHOOSEN AND WRONG, THE LETTERS ARE NOW INVALID AND HOW MANY WORDS ARE NOW INVALID

About

Wordle Solver in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.