Commit 231f52fd by BellCodeEditor

save project

parent ce775f37
Showing with 3 additions and 2 deletions
......@@ -17,7 +17,8 @@ background = pygame.image.load('bg.png')
font = pygame.font.Font('STKAITI.TTF', 60) # 字体
center=[2,8]
curr_shape=[(0,-1),(0,0),(0,1)(-1,0)]
curr_shape=[(0,-1),(0,0),(0,1),(-1,0)]
while True:
for event in pygame.event.get():
......@@ -28,7 +29,7 @@ while True:
if center[1]<15:
center[1]=center[1]+1
elif event.key == locals.K_KEFT:
elif event.key == locals.K_LEFT:
if center[1]>1:
center[1] = center[1]-1
......
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