vibrant-droplet import pygame initialize pygame set screen set an while loop for the screen create a for loop and if condition for the exit event framerate