This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Resolves possible 5 letter wordle guesses, sssh its a secret cheat script | |
| import sys | |
| sys.argv.pop(0) | |
| if len(sys.argv) == 0 or 'help' in sys.argv[0]: | |
| print("usage: first 5 args is the known word _ for unknown prefix - for letters that are known to be in the word but not at that position, remaining args are known excluded letters") | |
| print("example: ./wordle_cheat.py -t _ i -n _ m a g o h k") | |
| print(" excludes m a g o h k letters and makes sure t cannot be the first, n cannot be the 4th and i must be the 3rd letter") | |
| exit(0) |
OlderNewer