-
Notifications
You must be signed in to change notification settings - Fork 0
/
resources.py
50 lines (46 loc) · 1.24 KB
/
resources.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
white_block = " "
star_block = "\033[103m\033[97m ✲ \033[0m"
triangle_block = "\033[104m\033[97m ▲ \033[0m"
heart_block = "\033[101m\033[97m ♥ \033[0m"
circle_block = "\033[102m\033[97m ● \033[0m"
diamond_block = "\033[105m\033[97m ◆ \033[0m"
blocks = [
white_block,
star_block,
triangle_block,
heart_block,
circle_block,
diamond_block
]
colors = [
"\033[0m",
"\033[31m",
"\033[32m",
"\033[33m",
"\033[34m",
"\033[35m",
"\033[97m"
]
letters = [
"z",
"a",
"b",
"c",
"d",
"e",
]
title = """
a.---.z b.----.zc.----.z d.-. .-.e.-.d.-. .-.z c.--.z b.-.z
a(_ _)zb| (_z c| () )zd| `.' |e| |d| `| |z c/ () \z b| |z
a| |z b| (__z c| .-. \zd| |\ /| |e| |d| |\ |zc/ /\ \zb| `--.z
a`-'z b`----'zc`-' `-'zd`-' ` `-'e`-'d`-' `-'zc`-' `-'zb`----'z
c.--.z e.---.z a.---.z d.--.z b.---.z a.-. .-.z
c/ () \ze(_ _)za(_ _)zd/ () \z b/ ___)za| |/ /z
c/ /\ \z e| |z a| |z d/ /\ \zb\ )za| |\ \z
c`-' `-'z e`-'z a`-'z d`-' `-'z b`---'z a`-' `-'z
"""
def generate_title():
colored_title = title
for i, letter in enumerate(letters):
colored_title = colored_title.replace(letter, colors[i])
return colored_title