add simple reset function
This commit is contained in:
parent
e23268edfa
commit
0f380d5098
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue