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
Auf dieser Seite können Sie das Online-Video Python Turtle Graphics Snake Game Part 4 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Compucademy 06 April 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 639 Mal angesehen und es wurde von 8 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!