diff --git a/solver.py b/solver.py index 304e495..51a97b0 100644 --- a/solver.py +++ b/solver.py @@ -68,6 +68,12 @@ while True: print(prob.runtime(words)) elif line.split(' ')[0] == "words": print(words) + elif line.split(' ')[0] == "reset": + words = [i.rstrip() for i in open("wordlist", "r").readlines()] + nocontain = [] + contains = [] + defcontains = [] + print("reset!") elif line.split(' ')[0] == "help": print("welcome to wordlefish, a 'engine' for wordle") print("add - add pattern") @@ -76,5 +82,6 @@ while True: print("probmodel - output ordered arr based on expensive dist model") print("probruntime - return iterations of probmodel") print("words - list words in consideration") + print("reset - reset state") print("help - this")