Commit 8e8b820c by BellCodeEditor

save project

parent eb719ade
Showing with 7 additions and 3 deletions
import pygame import pygame
from pygame import locals
p = pygame p = pygame
p.init() p.init()
screen = p.display.set_mode((600,800)) screen = p.display.set_mode((660,480))
while True: while True:
pass for event in pygame.event.get():
\ No newline at end of file print(event)
if event.type == locals.QUIT:
exit()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment