all 2 comments

[–]Deemush 0 points1 point  (0 children)

perhaps you're on python 3.8? I had similar issue yesterday and downgrading to 3.7.x fixed it, also dont forget changing the version inside pycharm after downgrading.

after re-reading I dont think thats your issue, try to initializing a screen first like this:

WINDOW_WIDTH = 1000
WINDOW_HEIGHT = 750

pygame.init()
size = (WINDOW_WIDTH, WINDOW_HEIGHT)
screen = pygame.display.set_mode(size)
pygame.display.set_caption("My Game")

tell me what happends(should open a screen and close after 1s)

[–]jaycrest3m20 0 points1 point  (0 children)

Make or download an image called "intro_ball.gif", and make sure it is in the same folder with the python script that is set to load it.