Commit 2b8c37d0 by BellCodeEditor

save project

parent 6b6d04a1
Showing with 4 additions and 2 deletions
......@@ -21,8 +21,8 @@ ax=360
ay=300
x, y = 240, 120
s=0
m=pygame.font.Font("msjhbd.ttc",100)
i="傻逼"+str(s)
m=pygame.font.Font("neuropol.ttf",100)
i="sb"+str(s)
t=m.render(i,False,[100,255,100])
position = [(180, 90), (180, 120), (210, 120), (x, y)]
......@@ -73,6 +73,8 @@ while True:
# 将贪吃蛇的身体画上去
for i in range(len(position)-1):
screen.blit(body, position[i])
if x<0 or x>630 or y<0 or y>450:
exit()
screen.blit(t,(0,0))
# 将果实画上去
......
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