This is part four of a mini-course on building the Snake Game in Python.
In it we cover:
Refactoring to make code clearer and better structured
Handling snake self-collisions
Clearing the Turtle screen to free up memory
Starting code for this video: https://pastebin.com/g4eAkBe7
End code for this video: https://pastebin.com/npfp7R4g
We have a blog with many articles on learning Python programming and Computer Science GCSE and A Level here: https://compucademy.co.uk/blog/
Sign up for the Compucademy mailing list to keep up to date with articles and offers here: http://eepurl.com/gkYOPn
Here's a link to an alternative implementation for comparison: https://compucademy.co.uk/classic-sna...
#python #fun #gamedev #turtlegraphics
Sur cette page du site, vous pouvez voir la vidéo en ligne Python Turtle Graphics Snake Game Part 4 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Compucademy 06 avril 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 639 fois et il a aimé 8 téléspectateurs. Bon visionnage!