Tower of Hanoi by leonid

"AC".chars{|x|s=x;puts eval's=s.tr(*"BC
CB")+x+s.tr(*"AB
BA");'.*id%7}

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

download

return top