box world by shinh

s=' '*999
(l=gets.size-1).times{|i|s[l*l-l*i-i*2+l*2]=s[l+l*i+i*2]=s[i]=s[l*l+l-i+l*2]=$_[i];s[i*l+l+i*2+1]=10}
puts s

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

download

return top