code: def saveBestScore(self):
          
          if self.score > self.best_score:
              self.best_score = self.score
          try:
              with open(self.scores_file, 'w') as f:
                  f.write(str(self.best_score))
          except:
              return False
          return True
docs: save current best score in the default file