code: def getCellStr(self, x, y):  # TODO: refactor regarding issue #11
          
          c = self.board.getCell(x, y)
  
          if c == 0:
              return '.' if self.__azmode else '  .'
  
          elif self.__azmode:
              az = {}
              for i in range(1, int(math.log(self.board.goal(), 2))):
                  az[2 ** i] = chr(i + 96)
  
              if c not in az:
                  return '?'
              s = az[c]
          elif c == 1024:
              s = ' 1k'
          elif c == 2048:
              s = ' 2k'
          else:
              s = '%3d' % c
  
          return self.__colors.get(c, Fore.RESET) + s + Style.RESET_ALL
docs: return a string representation of the cell located at x,y.