Skip to content

Latest commit

ย 

History

History
132 lines (86 loc) ยท 3.35 KB

File metadata and controls

132 lines (86 loc) ยท 3.35 KB

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

Github GitHub 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!