Initial commit
This commit is contained in:
12
util.py
Normal file
12
util.py
Normal file
@ -0,0 +1,12 @@
|
||||
from wordle import CORRECT, IN_WORD, NOT_IN_WORD
|
||||
|
||||
def green(string):
|
||||
return f"\033[42;30m{string}\033[0m"
|
||||
|
||||
def yellow(string):
|
||||
return f"\033[43;30m{string}\033[0m"
|
||||
|
||||
def grey(string):
|
||||
return f"\033[100;30m{string}\033[0m"
|
||||
|
||||
empty_guess = (" ", [NOT_IN_WORD for i in range(5)])
|
||||
Reference in New Issue
Block a user