Today I was working on the snake game didn’t add anything to it though I just fixed some errors for the scoring as it isn’t working properly(still not working properly) but here are some screenshots and the link to the video

if food.distance(snake) < 20:
time.sleep(1)
screen.clear()
screen.bgcolor("turquoise")
scoring.goto(0, 0)
scoring.write(" Game Over\n your score is {}".format(score), align="center", font=("courier", 24, "bold"))
this part of the code is supposed to give your score if you lose but its still needs a lil bit fixing up here is the video link i used to help i stopped at 26:23: