code: def store(self):
          
          size = self.board.SIZE
          cells = []
  
          for i in range(size):
              for j in range(size):
                  cells.append(str(self.board.getCell(j, i)))
  
          score_str = "%s\n%d" % (' '.join(cells), self.score)
  
          try:
              with open(self.store_file, 'w') as f:
                  f.write(score_str)
          except:
              return False
          return True
docs: save the current game session's score and data for further use