(self, row, start_col, end_col)
return end_col
Scans a row of text maze to find the longest strip of wall.
Scans a row of text maze to find the longest strip of wall.
Scans a row of text maze to find the longest strip of wall .
def _scan_row(self, row, start_col, end_col):
    """Scans a row of text maze to find the longest strip of wall."""
    for col in range(start_col, end_col):
      if (self._text_maze[row, col] != self._wall_char
          or self._covered[row, col]):
        return col
    return end_col
def _scan_row ( self , row , start_col , end_col ) : for col in range ( start_col , end_col ) : if ( self . _text_maze [ row , col ] != self . _wall_char or self . _covered [ row , col ] ) : return col return end_col