def all_games(year)
      if !@games
        puts 'Finding all games for team...'
        results = []
        (START_MONTH..END_MONTH).each do |month|
          puts "Month: " + month.to_s
          month_s = GamedayUtil.convert_digit_to_string(month)
          (1..31).each do |date|
            if !GamedayUtil.is_date_valid(month, date)
              next
            end
            date_s = GamedayUtil.convert_digit_to_string(date)
            games = games_for_date(year, month_s, date_s)
            if games
              # make sure game was not postponed
              good_games = games.select { |g| g.get_boxscore.status_ind != 'P' }
              good_games.each do |game|
                results << game
              end
            end
          end
        end
        @games = results
      end
      @games
    end
def all_games(year)
      if !@games
        puts 'Finding all games for team...'
        results = []
        (START_MONTH..END_MONTH).each do |month|
          puts "Month: " + month.to_s
          month_s = GamedayUtil.convert_digit_to_string(month)
          (1..31).each do |date|
            if !GamedayUtil.is_date_valid(month, date)
              next
            end
            date_s = GamedayUtil.convert_digit_to_string(date)
            games = games_for_date(year, month_s, date_s)
            if games
              # make sure game was not postponed
              good_games = games.select { |g| g.get_boxscore.status_ind != 'P' }
              good_games.each do |game|
                results << game
              end
            end
          end
        end
        @games = results
      end
      @games
    end
Returns an array of all games for this team for the specified season