Commit 20897eec by BellCodeEditor

save project

parent 677feec1
Showing with 1 additions and 1 deletions
...@@ -62,7 +62,7 @@ while True: ...@@ -62,7 +62,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 score+=1
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