Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Building the Classic Snake Game with Python

via LinkedIn Learning

Overview

Learn how to integrate and deepen your existing knowledge of Python by programming a Snake game.

Syllabus

Introduction
  • Take your Python skills to the next level
  • What you should know
1. Introduction to Python Turtle Graphics
  • 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
2. The Snake Game
  • Snake representation and movement
  • Basic snake movement program
  • Controlling the snake's direction
  • The game loop
  • Snake food
  • Keeping score
  • Game reset
3. Finishing Touches
  • 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
Conclusion
  • Integrating material covered

Taught by

Robin Andrews

Reviews

4.7 rating at LinkedIn Learning based on 117 ratings

Start your review of Building the Classic Snake Game with Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.