还有:
if 球8.distance(玩家)<1:
s=s+1
球8.hideturtle()
球8.goto(random.randint(-500,500),400)
球8.showturtle()
#让球归位并积分
if 球1.ycor()<0:break
if 球2.ycor()<0:break
if 球3.ycor()<0:break
if 球4.ycor()<0:break
if 球5.ycor()<0:break
if 球6.ycor()<0:break
if 球7.ycor()<0:break
if 球8.ycor()<0:break
#探测没接住的球
print("游戏结束")
print("分数",s)