Commit 20992340 by BellCodeEditor

save project

parent 68815c04
Showing with 1 additions and 1 deletions
...@@ -70,7 +70,7 @@ while True: ...@@ -70,7 +70,7 @@ while True:
screen.blit(background, (0, 0)) screen.blit(background, (0, 0))
info="score:"+str(score) info="score:"+str(score)
text=my_font.render(info,True,(0,0,0)) text=my_font.render(info,True,(0,0,0))
screen.blit(text,(570,10)) screen.blit(text,(470,10))
# 将贪吃蛇的头画上去 # 将贪吃蛇的头画上去
screen.blit(snake_head, position[-1]) screen.blit(snake_head, position[-1])
# 将贪吃蛇的身体画上去 # 将贪吃蛇的身体画上去
......
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