Skip to content

Latest commit

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

SnakeGame 🐍



🐍 SnakeGame is a classic Snake game developed in Python using the PyGame library.

This project demonstrates game development fundamentals such as event handling, collision detection, sound effects, score tracking, and database integration.

The game combines local (SQLite) storage to save and manage high scores.


Table of Contents 🧾

  • Description 📝
  • Features 📦
  • Installation 🛠️
  • Usage 📘
  • Technologies 🧪
  • License 📜

Description 📝

SnakeGame is a modular Python project structured using clean code practices and separated responsibilities.

The game includes:

  • 🐍 Snake movement using keyboard input
  • 🍎 Apple collision detection
  • 🔊 Sound effects (movement, eating, game over)
  • 📊 Score tracking system
  • 💾 Local database storage (SQLite)

This project is designed to demonstrate how to organize a medium-sized Python application using multiple modules and proper file structure.


Features 📦

✔️ Real-time keyboard control ✔️ Dynamic snake growth ✔️ Collision detection ✔️ Sound effect integration ✔️ Local high score storage (SQLite) ✔️ Modular project architecture


Installation 🖥️

1️⃣ Clone the repository:

git clone https://github.com/Bredalis/SnakeGame.git

2️⃣ Navigate into the project directory:

cd SnakeGame

Usage ⚙️

To run the game:

python main.py

Technologies 🧪

  • Python 🐍
  • PyGame 🎮
  • SQLite 💾
  • Modular Programming Principles

License 📜

This project is licensed under the 📜 GPLv3 (GNU General Public License V3.0)


👩‍💻 Author

GithubGitHub Followers

😊 I am a programmer passionate about technology, artificial intelligence, and continuous learning. I enjoy building projects that combine logic, structure, and real-world applications. #python #gamedev #ai 🚀


⭐ Check out my GitHub profile

Web


✨ If you like this project, don’t forget to give it a star!

About

🐍 The snake game 🐍

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages