No comments have been left yet.

Instructor: Rebecca | Difficulty: Intermediate | Series: Snake Game

Can you use Python (and Python turtles) to build a snake game? Why, yes, you can! This series teaches you how to your own “snake” that grows longer with each apple it eats! Our slithery green python will be able to snake its way around the screen, chomping down apples, until either the screen can’t hold it anymore or it makes a wrong turn.

In this episode, you’ll learn how to make your snake grow with each apple it “eats.” Better still, you’ll learn how to code each new snake part to follow the snakehead wherever it goes. Ever watch a passenger train rush past pulling its long line of cars? As our snake grows, we’ll alter our script to shuffle each snake part to the location of the one in front of it - just like a train!

Before participating in the livestream or watching the archived video, be sure to follow the following checklist:

Arcade Clones Code Games Coding Champion