Cool S by rotary-o

i=gets.to_i
j=i/2
s=''
t=' '*i+$/
j.times{|k|s+=t
s[~j-k-2]=?/
s[~j+k]=?\\}
s+=([?|]*3*t[0,j-1]+$/)*j
u=s.chop.reverse
(j+1).times{|k|s+=t
s[-k-2-k/(j/2+1)*j]=?/
s[k+~j*2]=s[k-j-2]=?\\}
$><<s+u

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page