Back to projects

Snake Game

A desktop Snake game with keyboard controls, collision detection, growing segments, and persistent high scores.

Turtle Graphics
Snake at the opening score state
Snake at the opening score state

The experiment

A Python recreation of Snake built with Turtle Graphics. The game separates snake movement, food placement, scoring, and shared constants into focused modules.

What it explores

  • Event-driven keyboard input
  • Timed game loops without blocking the interface
  • Self, wall, and food collision detection
  • Segment growth and randomized food placement
  • File-based high-score persistence with player names

This experiment was a useful exercise in coordinating several small objects inside one continuously updating game state.