Python Turtle Graphics Snake Game Part 4

Опубликовано: 06 Апрель 2020
на канале: Compucademy
606
8

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