Created
February 27, 2018 12:25
-
-
Save jadiunr/71b7312c8aed684590ddd9bd7f0bb493 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
n=2;eval$s=%w[s=%[n=#{n<3?n+1: | |
1};eval$s=%w[#{$s}]*""];f=->n{ | |
s.slice!(0,n)};if(n==1)then;6. | |
times{|i|puts(f[30])};20.times | |
{|i|puts(32.chr*15+f[15])};els | |
if(n==2)then;4.times{puts(f[30 | |
])};4.times{|i| | |
puts(32.chr*19+ | |
f[11])};4.times | |
{puts(f[30])};4 | |
.times{|i|puts( | |
f[11]+32.chr*19 | |
)};4.times{puts | |
(f[30])};elsif( | |
n==3)then;4.tim | |
es{puts(f[30])} | |
;4.times{|i|put | |
s(32.chr*19+f[1 | |
1])};4.times{pu | |
ts(f[30])};4.ti | |
mes{|i|puts(32. | |
chr*19+f[11])}; | |
4.times{puts(f[ | |
30])};end;puts( | |
s)]*"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment