Python Turtle Graphics Snake Game Part 3
Dec 9, 2022
Python Turtle Graphics Snake Game Part 3
Continuing to build the classic Snake Game using Python Turtle Graphics.
You can access the source code for this lesson here: https://pastebin.com/2kjfa2T1
This is part three of a mini-course on building the Snake Game in Python.
In it we cover:
- Understanding how the snake moves
- Adding segments to the snake when it catches the food
- Using the `turtle.ontimer()` method to replace `while True:`
Code Club Pixel Art link: https://projects.raspberrypi.org/en/projects/pixel-art
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-snake-game-with-python-turtle-graphics-v2/
#python #fun #gamedev #turtlegraphics
Show More Show Less 