Project information

Details

Using the python module Turtle, I created the classic game of snake. The program initializes a 600px x 600px window in which the current score and high score are displayed, along with the "snake" and "food" objects. The up, down, left, and right arrow keys are used to control the movement of the snake head. Upon collision with food objects (in this case turtles), a new segment is added to the snake corresponding to the color of the food object.