Created
January 4, 2013 23:14
-
-
Save itsjef/4458374 to your computer and use it in GitHub Desktop.
Yay! I just created the most boring game in the world -.-
This file contains 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
#!/usr/bin/env python2.7 | |
import pygame | |
import sys | |
pygame.init() | |
DISPLAYSURF = pygame.display.set_mode((400,300)) | |
pygame.display.set_caption("Hello World") | |
while True: | |
for i in pygame.event.get(): | |
if i.type == "QUIT": | |
pygame.quit() | |
sys.exit() | |
pygame.display.update() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment