def set_attr(input)
      @name = input[:name] if input[:name]
      @guesses = input[:guesses] if input[:guesses]
      @time_taken = input[:time_taken] if input[:time_taken]
      @date_played = input[:date_played] if input[:date_played]
    end
def set_attr(input)
      @name = input[:name] if input[:name]
      @guesses = input[:guesses] if input[:guesses]
      @time_taken = input[:time_taken] if input[:time_taken]
      @date_played = input[:date_played] if input[:date_played]
    end
def set_attr ( input ) @name = input [ :name ] if input [ :name ] @guesses = input [ :guesses ] if input [ :guesses ] @time_taken = input [ :time_taken ] if input [ :time_taken ] @date_played = input [ :date_played ] if input [ :date_played ] end
attr_accessor :name, :trials, :time_taken, :date_played
attr_accessor : name : trials : time_taken : date_played