Commit 55e981ef by BellCodeEditor

save project

parent ff0dd6db
Showing with 2 additions and 0 deletions
......@@ -26,6 +26,8 @@ position = [(180, 90), (180, 120), (210, 120), (x, y)]
setheading = "right"
snake_head = right
score=0
if x<0 or x>630 or y<0 or y>450:
exit()
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