Commit 40c5985a by BellCodeEditor

save project

parent 897a8639
Showing with 3 additions and 1 deletions
......@@ -46,7 +46,9 @@ while True:
setheading = 'down'
snake_head = down
# 设置贪吃蛇的头部坐标
info = "Score:"+ str(score)
text = my_font.render(info, True, (0, 0, 0))
screen.blit(text, (540, 10))
if setheading == "right":
x += 30
elif setheading == "left":
......
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