Commit fd6c0fc0 by BellCodeEditor

save project

parent 7559125a
Showing with 2 additions and 0 deletions
......@@ -76,6 +76,8 @@ while True:
info = "score"+str(syc)
text = my_font.render(info,True,(0,0,0))
screen.blit(text,(540,10))
if x>630 or x<0 or y<0 or y>450:
exit()
# 将果实画上去
screen.blit(food, (apple_x,apple_y ))
......
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