Box Coloring by twobit

a=""m=0
while""do c=io.read(1)if c>" "then
d=(a:sub(-1)..a:sub(-51,-51)):match"%d"m=m+0^(d or 0)c=d or m
end
a=a..c
io.write(c)end

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

download

return to the top page