single

Snake Game, Episode 4: New Game

Did you crash your snake? Time to get a new game!

Starts

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 program the game to recognize when the snake has crashed - whether that crash is into itself or into one of the screen’s walls. You’ll also learn how to create a restart method that allows you to keep playing. Ready to get a new game?

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