Distance from x 2 by mitchs

#!ruby -p0
20.times{|d|gsub(/x|\.(?=(|.{10})#{d/2-1})/m){d/2}.reverse!.tr!?o,?-}

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

download

return to the top page