d=-1,1,2,2 puts$<.map{|s|((d*2).map{(d<<-t=d.shift;''<<s[0]+t<<s[1]+d[1])[/[a-h][1-8]/]}-[p])*' '}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page