Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 637 Bytes

File metadata and controls

19 lines (16 loc) · 637 Bytes

Python Snake Game

This is a traditional Snake game implemented in Python using the Pygame library. It features score updates, an operation interface, and various gameplay mechanics.

Features:

  • Smooth Gameplay
  • Clear Graphics with bordered snake segments
  • Real-time Score Tracking
  • User-Friendly Interface (Start Screen, Game Over Screen)
  • Arrow Key Controls
  • Wall and Self-Collision Detection
  • Random Food Spawning (avoids spawning on snake)
  • Restartability
  • Clean Exit

Prerequisites:

You need to have Pygame installed. If you don't have it, you can install it using pip:

pip install pygame