Commit 269079ea by BellCodeEditor

save project

parent 3154517c
Showing with 1 additions and 0 deletions
...@@ -66,6 +66,7 @@ while True: ...@@ -66,6 +66,7 @@ while True:
num2 = random.randint(0,15) num2 = random.randint(0,15)
apple_X = num1*30 apple_X = num1*30
apple_y = num2*30 apple_y = num2*30
score += 10
else: else:
position.pop(0) position.pop(0)
# 将贪吃蛇的头画上去 # 将贪吃蛇的头画上去
......
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