code: def _get_game_number(cls, gid_path):
          
          game_number = str(gid_path[len(gid_path)-2:len(gid_path)-1])
          if game_number.isdigit():
              return int(game_number)
          else:
              for char in reversed(gid_path):
                  if char.isdigit():
                      return int(char)
          raise MlbAmException('Illegal Game Number:(gid:{gid_path})'.format(gid_path))
docs: Game Number
          :param gid_path: game logs directory path
          :return: game number(int)