Initial commit

This commit is contained in:
2022-05-24 12:19:51 +02:00
commit f475b78da6
6 changed files with 332 additions and 0 deletions

12
util.py Normal file
View 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)])