forked from tlossen/euruko-golf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
i0rek.rb
33 lines (31 loc) · 793 Bytes
/
i0rek.rb
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
# Yo dawg, I heard you like ascii art.
# So I put ascii art in your code so you can see ascii art
# while you code ascii art.
#
# When you execute this script 'euruko' is printed in ascii art.
#
# $ ruby i0rek.rb
# " ### # # ## # # # # # "
# " # # # # # # # # # # #"
# " ## # # ## # # ## # #"
# " ### ### # # ### # # # "
#
# The funny thing is, that this script itself is ascii art already!
# Don't see what I mean? Let me help you by replacing some chars with #:
#
# eval"
#
# ### # # ## # # e w W
# # # # # # # # c k ( N
# ## # # ## # # ma p {
# ### ### # # ### 1 N ,
#
# '=#'}".tr(" \n","").tr("=NMX"," '.|")
#
# Hope you enjoyed it!
eval"
Nue R E UU e e e w W
R N M u n p a c k ( N
B2 4 N *4 ) M ma p {
XaX p=a M t rN0 1 N ,
'=#'}".tr(" \n","").tr("=NMX"," '.|")