Commit 408f43e2 by BellCodeEditor

save project

parent 3eb00b11
Showing with 4 additions and 0 deletions
......@@ -7,9 +7,13 @@ background = pygame.image.load('bg.png')
right = pygame.image.load('right.png')
food = pygame.image.load('apple.png')
body = pygame.image.load('body.png')
left
up
down
x,y=240,120
position=[(180,90),(180,120),(210,120),(x,y)]
setheading = "right"
snake_head=right
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
......
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