Commit aad4b5c3 by BellCodeEditor

save project

parent 8094dabf
Showing with 1 additions and 1 deletions
...@@ -16,6 +16,7 @@ c=random.randint(0,200) ...@@ -16,6 +16,7 @@ c=random.randint(0,200)
d=random.randint(0,200) d=random.randint(0,200)
e=random.randint(0,200) e=random.randint(0,200)
# 背景 # 背景
background = pygame.image.load('bg.png') background = pygame.image.load('bg.png')
right = pygame.image.load('right.png') # 头 朝右 right = pygame.image.load('right.png') # 头 朝右
...@@ -31,7 +32,6 @@ apple_x=360 ...@@ -31,7 +32,6 @@ apple_x=360
apple_y=300 apple_y=300
setheading = "right" setheading = "right"
snake_head = right snake_head = right
while True: while True:
a=random.randint(1,10) a=random.randint(1,10)
......
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