Skip to content

Instantly share code, notes, and snippets.

@meyer9
Created August 10, 2012 18:21
Show Gist options
  • Save meyer9/3316440 to your computer and use it in GitHub Desktop.
Save meyer9/3316440 to your computer and use it in GitHub Desktop.
Main.py 1st version
import pygame
#1
screen = pygame.display.set_mode((640, 400))
running = 1
while running:
#2
event = pygame.event.poll()
#3
if event.type == pygame.QUIT:
running = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment