Created
August 30, 2014 15:07
-
-
Save SuperDoxin/5f8fc9c0d30bcc2ab9fd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pygame | |
pygame.init() | |
screen=pygame.display.set_mode((640,480)) | |
while True: | |
for event in pygame.event.get(): | |
if event.type==pygame.QUIT: | |
raise SystemExit() | |
screen.fill((255,255,255)) | |
#draw shit | |
pygame.display.flip() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment