Skip to content

A classic Snake game built with Python using Pygame. Control the snake, eat food, and grow while avoiding collisions!

Notifications You must be signed in to change notification settings

kenny1st/snake-game-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 

Repository files navigation

Snake Game ๐Ÿ๐ŸŽฎ

A classic Snake game built with Python using Pygame. Control the snake, eat food, and grow while avoiding collisions!

๐Ÿ“Œ Features

  • Smooth gameplay with increasing difficulty
  • Customizable snake speed and colors
  • Sound effects and game-over animations
  • Score tracking and high-score saving

๐Ÿ”— Project Structure

/snake-game-python โ”œโ”€โ”€ src/ # Game source code โ”œโ”€โ”€ assets/ # Game assets (images, sounds) โ”œโ”€โ”€ README.md # Setup and game instructions โ”œโ”€โ”€ requirements.txt # Dependencies โ”œโ”€โ”€ config.json # Game settings โ”œโ”€โ”€ main.py # Entry point for the game

๐Ÿš€ How to Run

1. Clone the repository:

git clone https://github.com/your-username/snake-game-python.git
cd snake-game-python
pip install -r requirements.txt
python main.py

About

A classic Snake game built with Python using Pygame. Control the snake, eat food, and grow while avoiding collisions!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages