def find(options)
      raise ArgumentError, 'options' if options.nil?
      raise ArgumentError, 'name' if options[:name].nil?

      params = {
        :query => options[:name],
        :type => 'suggest'
      }

      if options[:live]
        params.merge!(:live => true)
      end

      return @query.connection.accumulate(
        :path => 'search/games',
        :params => params,
        :json => 'games',
        :create => GameSuggestion,
        :limit => options[:limit]
      )
    end
def find(options)
      raise ArgumentError, 'options' if options.nil?
      raise ArgumentError, 'name' if options[:name].nil?

      params = {
        :query => options[:name],
        :type => 'suggest'
      }

      if options[:live]
        params.merge!(:live => true)
      end

      return @query.connection.accumulate(
        :path => 'search/games',
        :params => params,
        :json => 'games',
        :create => GameSuggestion,
        :limit => options[:limit]
      )
    end
Get a list of games with names similar to the specified name.
 @example
   Twitch.games.find(:name => 'diablo')
 @example
   Twitch.games.find(:name => 'starcraft', :live => true)
 @example
   Twitch.games.find(:name => 'starcraft') do |suggestion|
     next if suggestion.name =~ /heart of the swarm/i
     puts suggestion.name
   end
 @param options [Hash] Search criteria.
 @option options [String] :name Game name search term. This can be a partial name, e.g. `"league"`.
 @option options [Boolean] :live (false) If `true`, only returns games that are currently live on at least one channel.
 @option options [Fixnum] :limit (nil) Limit on the number of results returned.
 @yield Optional. If a block is given, each game suggestion is yielded.
 @yieldparam [GameSuggestion] suggestion Current game suggestion.
 @see GameSuggestion GameSuggestion
 @see https://github.com/justintv/Twitch-API/blob/master/v2_resources/search.md#get-searchgames GET /search/games
 @raise [ArgumentError] If `:name` is not specified.
 @return [Array<GameSuggestion>] Games matching the criteria, if no block is given.
 @return [nil] If a block is given.