Skip to content

dom557/Snake-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐍 Snake Game in Python

This is a simple Snake game implemented in Python using the Pygame library.

🎮 Features

  • Classic Snake gameplay.
  • 🎵 Background music can be customized by changing the songs in the 'music' folder.
  • 🌈 Colors can be easily modified by declaring them as variables in the code.

🛠️ Customization

🎵 Background Music

You can personalize the background music by replacing the songs located in the 'music' folder with your preferred audio files.

🌈 Color Customization

Colors in the game can be modified by declaring them as variables in the code. For example:

Black = (0, 0, 0)
# Add more color variables as needed

Feel free to experiment with different color combinations to give the game your unique touch.

🎮 How to Play

  1. Run the Python script (main.py) in a Python environment with the Pygame library installed.
  2. Control the snake using the arrow keys: ⬆️ Up, ⬇️ Down, ⬅️ Left, ➡️ Right.
  3. 🍏 Collect the coins to grow the snake and increase your score.
  4. 🚫 Avoid collisions with the snake's own body and the game borders.
  5. Have fun playing the Snake Game! 🎉

📋 Requirements

  • Python 3.x
  • Pygame library

🚀 Installation

pip install pygame

📄 License

This Snake Game project is licensed under the Apache License 2.0.

Enjoy the game! 🕹️


About

This is a basic snake game with python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages