scoreboard.py
def prep_score(self):
        """
        Render the score as an image
        """
        rounded_score = round(self.stats.score,-1)
        score_str = "{:,}".format(rounded_score)
        self.score_image = self.font.render(score_str, 
            True, self.text_color, self.settings.bg_color)

        # dispaly the score in the northeast the screen
        self.score_image_rect = self.score_image.get_rect()
        self.score_image_rect.right = self.screen_rect.right - 20
        self.score_image_rect.top = 20

        Render the score as an image
        
Render the score as an image
Render the score as an image
def prep_score(self):
        rounded_score = round(self.stats.score,-1)
        score_str = "{:,}".format(rounded_score)
        self.score_image = self.font.render(score_str, 
            True, self.text_color, self.settings.bg_color)
        self.score_image_rect = self.score_image.get_rect()
        self.score_image_rect.right = self.screen_rect.right - 20
        self.score_image_rect.top = 20
def prep_score ( self ) : rounded_score = round ( self . stats . score , - 1 ) score_str = "{:,}" . format ( rounded_score ) self . score_image = self . font . render ( score_str , True , self . text_color , self . settings . bg_color ) self . score_image_rect = self . score_image . get_rect ( ) self . score_image_rect . right = self . screen_rect . right - 20 self . score_image_rect . top = 20
Render the score as an image
Render the score as an image
"""
        Render the score as an image
        """ # dispaly the score in the northeast the screen
self