,
, ;
, or :
FLK-E231112
113 line1 = font.render('Game Over!', True, (0,0,0))
114 line2 = font.render(f'Your score: {final_score}', True, (0,0,0))
115 line3 = font.render('Press enter to play again...', True, (0,0,0))116
117 self.surface.blit(line1, (200, 240))
118 self.surface.blit(line2, (200, 275))
112
113 line1 = font.render('Game Over!', True, (0,0,0))
114 line2 = font.render(f'Your score: {final_score}', True, (0,0,0))
115 line3 = font.render('Press enter to play again...', True, (0,0,0))116
117 self.surface.blit(line1, (200, 240))
118 self.surface.blit(line2, (200, 275))
111 font = pygame.font.SysFont("arial", 30)
112
113 line1 = font.render('Game Over!', True, (0,0,0))
114 line2 = font.render(f'Your score: {final_score}', True, (0,0,0))115 line3 = font.render('Press enter to play again...', True, (0,0,0))
116
117 self.surface.blit(line1, (200, 240))
111 font = pygame.font.SysFont("arial", 30)
112
113 line1 = font.render('Game Over!', True, (0,0,0))
114 line2 = font.render(f'Your score: {final_score}', True, (0,0,0))115 line3 = font.render('Press enter to play again...', True, (0,0,0))
116
117 self.surface.blit(line1, (200, 240))
110 self.surface.fill(BACKGROUND)
111 font = pygame.font.SysFont("arial", 30)
112
113 line1 = font.render('Game Over!', True, (0,0,0))114 line2 = font.render(f'Your score: {final_score}', True, (0,0,0))
115 line3 = font.render('Press enter to play again...', True, (0,0,0))
116
There should be whitespace after the characters ,
, ;
, and :
.