An upgraded take on the classic Snake Game, built with Python (Pygame). The game brings a modern touch to the nostalgic experience β featuring custom designs, power-ups, smooth animations, and immersive gameplay. This project was created during my first year of Computer Science as a way to apply programming concepts beyond the classroom.
β Custom snake design with gradient colors, head & tail details
β Multiple fruits & power-ups (shield & slow-motion)
β Obstacles & level progression with unique backgrounds (forest, desert, space)
β Particle effects & smooth animations for an immersive experience
β Background music & sound effects (chomp, crash, level-up)
β High score system with persistent saving
β Interactive UI including main menu, pause, and instructions
- Python 3
- Pygame library
Clone this repository:
git clone https://github.com/codewithsahilll/snake-game.git
Navigate into the project folder:
cd snake-game
Install dependencies (if not already installed):
pip install pygame
Run the game:
python snake.py
[https://github.com/user-attachments/assets/d3ef66e3-70a6-40d3-9292-59e737c19430]
- Through this project, I learned about:
- Game loops & event handling
- Collision detection & logic building
- Designing animations, UI, and interactive features
If you have suggestions or ideas to improve this project, feel free to reach out!
πΌ LinkedIn: [www.linkedin.com/in/sahil-btech]