Free Friday 11-14-25

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"))     

CATEGORIES:

Tags:

No Responses

Leave a Reply

Your email address will not be published. Required fields are marked *