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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
# File 'lib/saikouda/cli.rb', line 9
def saikouda
list = [
' @WHaNN N dYT ',
' #Og N2W ',
' d UUZyyZud RJ ',
' NxOvzuZZZZu #d ',
' @j0rrrvzuZZuZ N? ',
' jo(zrvvvrvzzuuuub ',
' J+(OrvzzuuuWk ',
' lzOrvzuuuuuX ',
' zrzzuuuuu d ',
' ]+rzzzuuuuZb ',
' ]1rzuuuuuZuB ',
' ]+rzzuuuZZZXJ ',
' 1tvzuuuZZZd ',
' +rvzuuuZZZW ',
' FzrvuuuuZZZZZu ',
' #<zrzzuuZZZZZd ',
' #(lrzuuuZuZZZZZd ',
' >zrvzZZuZZyyyW ',
' zrZuZZZZZZZZyW ',
' (zrzZZZZZyyuuZX ',
' (OvzuZyZZZZZZZZX ',
' BUC<<OUUXX +tvuuZZyyZZZZyZZyZW ',
' DI+<<(<z+0XwX .+tvuuZZyyyyyyZyyN ',
' 0Izwywkk<1wwrXWkWHHHgHqqH (zrzuZZZyyyyyyZZX ',
' HzOXHH zdXHHHkkWHHHU qqq .+OvuuZyyyyVyyyyyZyW ',
' NkXH N#<dH#H### H Hqq .(zruuZyyVVfpffVyyyX ',
' HWU0OXVY7<<+zUHDjX N#NNNN### NHHHU> .+zwuZZyyVfppbbppfVW ',
' WUXX0Z><_--(++zwuXpkXH NNNNNNNN##N# 0> (zOvuZZyVVVfpbkkbppVN ',
' #CXwZ7<<<jo(swAeAywWkkQWHWHHNNN NNNNNN D1$ .(zrvuZZyyyVVffppbbpfN ',
' NwVv_(+(+dkVHHHHHfpWHHH@ @H#NNNNNNNN #>(d! .+zrvzuZZyyyyyVVfffVVW ',
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+XpWuV>(dpW0r>-(XHSV!.dWkkkHHH@@g qqkHHVyyuXN ',
' >~_ .+XpWSkC(+dpW0rI<(X SZ<(XbkHH@@@g qqkHHfVVyZyW ',
' BC<!_-jXpWWZ0I<(dbW0vZz+dHKI(dWH ggggg qqqkHffffVyWWd ',
' 9zv!.-JXppWZ0Zv<(XbWSuwOIdHHAdWq gg qqqkkHfffffVWWf ',
' B6zC!.(JdppWXZ0rZ>(XpWXu0wXjWHSXqqqqqqqqkqkbpfppfppWWH0 ',
' B1zC!._+dppWUu0wrrOsXpWuuXwXWWHHXqqqkkkkkkkHfpppppWWqHHWd ',
' 91wC!._(dWpWWuZXvzrwXVfWZZuzXHWqHWkqkbbkkkHpfpppppWHqHHWWN ',
' 9zv>~._(dWpWWuuXvwuuXyffyyyZZXHfkkpkbbbkkkHpppppbWqqqHbWyWHd ',
' 9+v! ._(+XpfWXuXuzwuuXyVVVyyyyWWHWqpbbbkkHppbbppWH HbbWVyyWH ',
' 51<!`._(jXpfWXuuuuuuZZyVfVVffVVVWHWqbbkkkbpWkbbbH HHbbWVVVVVX ',
' 8+<` __JdffWXuuuuuuZZyVVVVVVWpffpkWHbkkkbWkkbbkqqHHpppppffffVZN ',
' #7>` _(dffyyuuuuuZZyyyVVVffpppppbpbkkkkkkkkbkkqkHpppppppppffVZXN ',
' #3_`` -(dVVWZZuuZuZZZyyyVVVffpppppppkqkqkkkkbkkkkbbbbppppppppfVXXW W ',
' @ad% -jXVyZZuZuuZZZyyyVVfffpppppppbbqkqkqkkqkkkkbbbbbbpbbpppfVXXVS W ',
]
cols = `tput cols`.to_i
height = list[0].size
list.map! do |str|
(' ' * cols) + str
end
list[0].size.times do
list.each do |str|
print str[0..(cols - 1)]
end
print "\r"
print "\e[#{height}A"
list.map! do |str|
str.slice!(0)
str += ' '
end
sleep 0.02
end
end
|