Commit 5e6af70c by BellCodeEditor

save project

parent 70b82a77
Showing with 2 additions and 1 deletions
import pygame import pygame
from pygame import locals from pygame import locals
import random import random
import json
pygame.init() # 初始化 pygame.init() # 初始化
...@@ -55,6 +55,7 @@ block_list = pygame.sprite.Group() ...@@ -55,6 +55,7 @@ block_list = pygame.sprite.Group()
score=0 score=0
speed=10 speed=10
old_score=score old_score=score
with open('')
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.QUIT: if event.type == locals.QUIT:
......
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