Commit d2fb92e4 by BellCodeEditor

auto save

parent c3eb5b5f
Showing with 2 additions and 2 deletions
......@@ -62,8 +62,8 @@ while True:
for i in range(len(position)-1):
screen.blit(body, position[i])
if dejecta_x==x and dejecta_y==y:
dejecta_x=random.randint(0,660)
dejecta_y=random.randint(0,660)
dejecta_x=random.randint(0,630)
dejecta_y=random.randint(0,450)
# 将果实画上去
screen.blit(food, (dejecta_x, dejecta_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