Squares Round 3 by leonid

k=0
loop{gets
x=puts"#{(0..99).map{|j|[x^(x=?.==k[j])?:|:' ',x^("#$_"[j]==?.)?:_:' ']}}".rstrip.gsub /_ (?=_)/,'__'
k=$_}

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

download

return to the top page