making the classic game in Ruby