— Add this between declaring the collision detection function and the Start Screen declaration
# SCORE
score = 0
SCORE_FONT = pygame.font.Font('freesansbold.ttf', 32)
def score_display(score):
display = SCORE_FONT.render(f"Score: {score}", True, (255,255,255))
SCREEN.blit(display, (10, 10))
— Add this between displaying the bird and updating the display
# display the score
score_display(score)