Commit e86ce14d by BellCodeEditor

save project

parent 94b705dd
Showing with 9 additions and 1 deletions
......@@ -26,4 +26,11 @@ elif:
y +=30
position.append((x,y))
if x== apple_x and y ==apple_y:
num1 =randint.randint1,22
num2 =randint.randint(1,16)
eise
apple_x =30* num1-30
apple_y =30* num2-30
screen.blitbackgroud,(00))
screen.blit snake_head,position[-1]
for i
\ No newline at end of file
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