forked from terrisbecker/codenames-ai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathutilities.py
67 lines (66 loc) · 1.64 KB
/
utilities.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
R = "\033[1;31m" # RED
G = '\033[1;32m' # GREEN
Y = "\033[1;33m" # Yellow
B = "\033[1;34m" # Blue
N = "\033[0m" # Reset
HEADER = '\033[95m'
BLUE = '\033[94m'
CYAN = '\033[96m'
GREEN = '\033[92m'
WARNING = '\033[93m'
FAIL = '\033[91m'
ENDC = '\033[0m'
BOLD = '\033[1m'
UNDERLINE = '\033[4m'
MAGENTA = '\u001b[35m'
R = "\033[1;31m" # RED
G = "\033[1;32m" # GREEN
Y = "\033[1;33m" # Yellow
B = "\033[1;34m" # Blue
N = "\033[0m" # Reset
M = '\u001b[35;1m' # Bright magenta
YELLOW = "\033[33;1m"
BLACK='\033[0;30m'
RED='\033[0;31m'
GREEN='\033[0;32m'
BROWN='\033[0;33m'
BLUE='\033[0;34m'
PURPLE='\033[0;35m'
CYAN='\033[0;36m'
LIGHT_GREY='\033[0;37m'
DARK_GREY='\033[1;30m'
LIGHT_RED='\033[1;31m'
LIGHT_GREEN='\033[1;32m'
YELLOW='\033[1;33m'
LIGHT_BLUE='\033[1;34m'
LIGHT_PURPLE='\033[1;35m'
LIGHT_CYAN='\033[1;36m'
WHITE='\033[1;37m'
DEFAULT='\033[0m'
REVERSE='\033[7m'
RESET='\033[0m'
UNDERLINE='\033[4m'
DIM='\033[2m'
BLINK='\033[5m'
# Set the terminal's background ANSI color to black.
ON_BLACK='\033[40m'
# Set the terminal's background ANSI color to red.
ON_RED='\033[41m'
# Set the terminal's background ANSI color to green.
ON_GREEN='\033[42m'
# Set the terminal's background ANSI color to yellow.
ON_YELLOW='\033[43m'
# Set the terminal's background ANSI color to blue.
ON_BLUE='\033[44m'
# Set the terminal's background ANSI color to magenta.
ON_MAGENTA='\033[45m'
# Set the terminal's background ANSI color to cyan.
ON_CYAN='\033[46m'
# Set the terminal's background ANSI color to white.
ON_WHITE='\033[47m'
ON_BLUE='\033[44m'
ON_GRAY232='\033[48;5;232m'
ON_GRAY233='\033[48;5;233m'
ON_GRAY234='\033[48;5;234m'
ON_GRAY235='\033[48;5;235m'
ON_GRAY236='\033[48;5;236m'