Commit 791bf2b7 by BellCodeEditor

auto save

parent ab1b67d3
Showing with 2 additions and 0 deletions
......@@ -66,6 +66,8 @@ while True:
if event.type == locals.QUIT:
exit()
if event.type == locals.KEYDOWN:
if gameover==True:
gameover=False
if event.key == locals.K_LEFT: # 向左
center[1] = center[1] - 1 # 左移1列
if check(center) == False:
......
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