a clone of out-of-ten.com in ruby