Knight Move by mitchs

puts$<.map{|s|('RfombNEG'.bytes.map{|k|[*s..'h'+s][k+?\xaa][/[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