Today in class I worked on my snake game.
I added the score and high score.

code for score and high score:
score = 0
high_score = 0
score = 0
#Reset the delay
delay = 0.1
pen.clear() pen.write("Score: {} High Score: {}".format(score, high_score), align="center",font=("Courier", 24, "normal"))
No Responses