""" hiscores.hiscores - high socres: loading, saving, converting to string """ from sliceitoff.settings import settings from .static import MAX_HIGHSCORES class HiScores: """ Keeps track of high scores """ def __init__(self): """ On creation load high scores from config file """ self.table=[] for value in settings.get_values("hiscore"): score, name = value.split('!') self.add(int(score.strip()),name.strip()) if len(self.table)