I am a beginner in pygame and I have been learning how to create a Flappy Bird game. I found a image shown below in the FlappyBird/assets folder.
After doing so, I added code to show the image onto a screen:
# Pygame flappy bird program
import pygame
import sys
pygame.init()
screen = pygame.display.set_mode((288, 512))
bg_surface = pygame.image.load('assets/background-day.png').convert()
while True:
for event in pygame.event.get():
if event.type == pygame.QUIT:
pygame.quit()
sys.exit()
screen.blit(bg_surface, (0, 0))
But it ended up showing part of the screen, shown as follows:
Why is that? Any help or comments on my code will be appreciated.

