MapGame.py
def _count_area(self, glyph)->int:
        ''' 
        Tally the number of glyphs in the DEFAULT AREA 
        '''
        count = 0
        area = self.pw_area()
        if area:
            for obj in area._pieces:
                if obj.glyph == glyph:
                    count += 1
        return count
 
        Tally the number of glyphs in the DEFAULT AREA 
        
Tally the number of glyphs in the DEFAULT AREA
Tally the number of glyphs in the DEFAULT AREA
def _count_area(self, glyph)->int:
        count = 0
        area = self.pw_area()
        if area:
            for obj in area._pieces:
                if obj.glyph == glyph:
                    count += 1
        return count
def _count_area ( self , glyph ) -> int : count = 0 area = self . pw_area ( ) if area : for obj in area . _pieces : if obj . glyph == glyph : count += 1 return count
Tally the number of glyphs in the DEFAULT AREA
Tally the number of glyphs in the DEFAULT AREA
''' 
        Tally the number of glyphs in the DEFAULT AREA 
        '''
self
glyph