code: def drawGrid(self):
          
          for cell in self.grid:
              y, x = cell
              y += self.y_pad
              x += self.x_pad
  
              if self.traditional:
                  sprite = '.'
                  color = curses.color_pair(4)
              else:
                  sprite = self.char[self.grid[cell] - 1]
                  color = curses.color_pair(self.grid[cell])
  
              self.addchar(y, x, sprite, color)
  
          self.win.refresh()
docs: Redraw the grid with the new generation