Commit 7ff1c3e9 by BellCodeEditor

save project

parent 8a77c435
Showing with 1 additions and 3 deletions
......@@ -58,11 +58,9 @@ while True:
n2=random.randint(0,15)
a_x=n1*30
a_y=n2*30
score+=1
else:
po.pop(0)
if x>630 or x<0 or y<0 or y>450:
x,y=240,180
# 将背景图画上去
screen.blit(background, (0, 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