Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- import pygame
- def main():
- pygame.init()
- pygame.display.set_mode([300,300])
- pygame.display.set_caption("LOL")
- salir = False
- #loop principal
- while salir != True:
- for event in pygame.event.get():
- if event.type == pygame.QUIT:
- salir = True
- pygame.display.update()
- pygame.quit()
- main()
Advertisement
Add Comment
Please, Sign In to add comment