king_pong.py
def draw_scores(self):
                """
                To be called when playing against
                human only so that numbers pixels don't
                interfere with learning
                """
                cpu_score = SCORE_FONT.render(str(self.score[0]), 1, (255, 255, 255))
                cpu_games = GAMES_FONT.render(str(self.games[0]), 1, (255, 255, 255))
                my_score = SCORE_FONT.render(str(self.score[1]), 1, (255, 255, 255))
                my_games = GAMES_FONT.render(str(self.games[1]), 1, (255, 255, 255))

                SCREEN.blit(cpu_score, (32, 16))
                SCREEN.blit(cpu_games, (32 - 4, 16))

                SCREEN.blit(my_score, (SCREEN_HEIGHT+92, 16))
                SCREEN.blit(my_games, (SCREEN_HEIGHT+92 - 4, 16))

                To be called when playing against
                human only so that numbers pixels don't
                interfere with learning
                
To be called when playing against
human only so that numbers pixels don't
interfere with learning
To be called when playing against human only so that numbers pixels don ' t interfere with learning
def draw_scores(self):
                cpu_score = SCORE_FONT.render(str(self.score[0]), 1, (255, 255, 255))
                cpu_games = GAMES_FONT.render(str(self.games[0]), 1, (255, 255, 255))
                my_score = SCORE_FONT.render(str(self.score[1]), 1, (255, 255, 255))
                my_games = GAMES_FONT.render(str(self.games[1]), 1, (255, 255, 255))
                SCREEN.blit(cpu_score, (32, 16))
                SCREEN.blit(cpu_games, (32 - 4, 16))
                SCREEN.blit(my_score, (SCREEN_HEIGHT+92, 16))
                SCREEN.blit(my_games, (SCREEN_HEIGHT+92 - 4, 16))
def draw_scores ( self ) : cpu_score = SCORE_FONT . render ( str ( self . score [ 0 ] ) , 1 , ( 255 , 255 , 255 ) ) cpu_games = GAMES_FONT . render ( str ( self . games [ 0 ] ) , 1 , ( 255 , 255 , 255 ) ) my_score = SCORE_FONT . render ( str ( self . score [ 1 ] ) , 1 , ( 255 , 255 , 255 ) ) my_games = GAMES_FONT . render ( str ( self . games [ 1 ] ) , 1 , ( 255 , 255 , 255 ) ) SCREEN . blit ( cpu_score , ( 32 , 16 ) ) SCREEN . blit ( cpu_games , ( 32 - 4 , 16 ) ) SCREEN . blit ( my_score , ( SCREEN_HEIGHT + 92 , 16 ) ) SCREEN . blit ( my_games , ( SCREEN_HEIGHT + 92 - 4 , 16 ) )
To be called when playing against
human only so that numbers pixels don't
interfere with learning
To be called when playing against human only so that numbers pixels don ' t interfere with learning
"""
                To be called when playing against
                human only so that numbers pixels don't
                interfere with learning
                """
self