Created
August 29, 2019 14:01
-
-
Save SeanFelipe/893c436252f9f6fe2e5d7302dbeee1e4 to your computer and use it in GitHub Desktop.
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
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