Four Number Game by uru

#!ruby -an
a=$F.map(&:to_i)
a=(0..3).map{|i|(a[i]-a[i-3]).abs}while puts(a*" ")||a.max>0
puts

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

download

return to the top page