Skip to content

Instantly share code, notes, and snippets.

@jadiunr
Created Feb 27, 2018
Embed
What would you like to do?
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