Skip to content

Instantly share code, notes, and snippets.

@SuperDoxin
Created August 30, 2014 15:07
Show Gist options
  • Save SuperDoxin/5f8fc9c0d30bcc2ab9fd to your computer and use it in GitHub Desktop.
Save SuperDoxin/5f8fc9c0d30bcc2ab9fd to your computer and use it in GitHub Desktop.
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