Commit 3d100717 by BellCodeEditor

save project

parent 2e7b4231
Showing with 7 additions and 0 deletions
...@@ -3,3 +3,10 @@ from pygame import locals ...@@ -3,3 +3,10 @@ from pygame import locals
pygame.init() pygame.init()
screen = pygame.drsplay.set_mode((640,480)) screen = pygame.drsplay.set_mode((640,480))
while True:
for event in pygame.event.get()
if event.type == locals.QUIT:
exit()
if pygame.mixer.music.get()==False:
pygame.mixer.music.play()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment