Skip to content

Instantly share code, notes, and snippets.

@SeanFelipe
Created August 29, 2019 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SeanFelipe/893c436252f9f6fe2e5d7302dbeee1e4 to your computer and use it in GitHub Desktop.
Save SeanFelipe/893c436252f9f6fe2e5d7302dbeee1e4 to your computer and use it in GitHub Desktop.
import pygame
def start(res):
return pygame.display.set_mode(res)
def loop():
running = True
while running:
for e in pygame.event.get():
if e.type == pygame.QUIT:
running = False
pygame.display.update()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment