scoreboard.py
def prep_high_score(self):
        """
        Render the high score as an image
        """
        rounded_high_score = round(self.stats.high_score,-1)
        high_score_str = "{:,}".format(rounded_high_score)
        self.high_score_image = self.font.render(high_score_str, 
            True, self.text_color, self.settings.bg_color)

        # dispaly the score in the northeast the screen
        self.high_score_image_rect = self.high_score_image.get_rect()
        self.high_score_image_rect.centerx = self.screen_rect.centerx
        self.high_score_image_rect.top = self.screen_rect.top

        Render the high score as an image
        
Render the high score as an image
Render the high score as an image
def prep_high_score(self):
        rounded_high_score = round(self.stats.high_score,-1)
        high_score_str = "{:,}".format(rounded_high_score)
        self.high_score_image = self.font.render(high_score_str, 
            True, self.text_color, self.settings.bg_color)
        self.high_score_image_rect = self.high_score_image.get_rect()
        self.high_score_image_rect.centerx = self.screen_rect.centerx
        self.high_score_image_rect.top = self.screen_rect.top
def prep_high_score ( self ) : rounded_high_score = round ( self . stats . high_score , - 1 ) high_score_str = "{:,}" . format ( rounded_high_score ) self . high_score_image = self . font . render ( high_score_str , True , self . text_color , self . settings . bg_color ) self . high_score_image_rect = self . high_score_image . get_rect ( ) self . high_score_image_rect . centerx = self . screen_rect . centerx self . high_score_image_rect . top = self . screen_rect . top
Render the high score as an image
Render the high score as an image
"""
        Render the high score as an image
        """ # dispaly the score in the northeast the screen
self