Learn how to integrate and deepen your existing knowledge of Python by programming a Snake game.
Overview
Syllabus
Introduction
- Take your Python skills to the next level
- What you should know
- Meet turtle graphics
- Working with the repository for this course
- A starter template for turtle graphics programs
- Animation with Python turtle graphics
- Global variables
- Drawing with stamps
- Snake representation and movement
- Basic snake movement program
- Controlling the snake's direction
- The game loop
- Snake food
- Keeping score
- Game reset
- Avoiding repetition by using Lambda expressions
- Personalizing your game
- Adding graphics to the snake game
- Adding the snake head to the game
- Adding a high-score feature
- Integrating material covered
Taught by
Robin Andrews