Commit 537b9fd6 by BellCodeEditor

auto save

parent 0ea03d20
Showing with 5 additions and 0 deletions
...@@ -12,3 +12,7 @@ pygame.display.set_caption("俄罗斯方块") ...@@ -12,3 +12,7 @@ pygame.display.set_caption("俄罗斯方块")
clock = pygame.time.Clock() clock = pygame.time.Clock()
background = pygame.image.load('bg.png') background = pygame.image.load('bg.png')
font = pygame.font.Font('STKAITI.TTF', 60) font = pygame.font.Font('STKAITI.TTF', 60)
while True:
for event in pygame.event.get():
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