Commit ffa986de by BellCodeEditor

save project

parent e32bbd71
Showing with 2 additions and 2 deletions
...@@ -19,9 +19,9 @@ font = pygame.font.Font('STKAITI.TTF', 60) # 字体\ ...@@ -19,9 +19,9 @@ font = pygame.font.Font('STKAITI.TTF', 60) # 字体\
center=[2,8] center=[2,8]
curr_shape = [(0,-1),(0,0),(0,1),(0,2)] curr_shape = [(0,-1),(0,0),(0,1),(0,2)]
while True: while True
for event in pvgam.event.get(): for event in pvgam.event.get():
if event.type == locals.QUIT: if event.type == locals.QUIT
exit( ) exit( )
if event.type == locals.KEYDOWN: if event.type == locals.KEYDOWN:
if event.key == locals.K_RIGHT: if event.key == locals.K_RIGHT:
......
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