box world by zetamatta

L=io.read("*l")H=L:sub(1,1)S=L:len()-1
print(L..H)for i=1,S do
print(L:sub(-i,-i)..(" "):rep(S)..L:sub(i+1,i+1))end
print(H..L:reverse())

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

download

return to the top page