Assignment #13, solution_13.rb, Guess game, using rand method