{"id":27057296,"url":"https://github.com/alij-official/snakegame","last_synced_at":"2025-10-10T18:34:02.546Z","repository":{"id":286205796,"uuid":"960714327","full_name":"AliJ-Official/SnakeGame","owner":"AliJ-Official","description":"A classic Snake game built using Python and Pygame. This game features exciting gameplay with special mango food, sound effects, and increasing difficulty as you progress.","archived":false,"fork":false,"pushed_at":"2025-04-05T09:58:08.000Z","size":260,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T19:15:23.662Z","etag":null,"topics":["fun","game","game-development","gui","py","pygame","python","python3","pythongame","snake","snake-game","snakegame"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AliJ-Official.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-04T23:25:03.000Z","updated_at":"2025-04-07T21:37:37.000Z","dependencies_parsed_at":"2025-04-05T00:36:47.588Z","dependency_job_id":null,"html_url":"https://github.com/AliJ-Official/SnakeGame","commit_stats":null,"previous_names":["alij-official/snakegame"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliJ-Official%2FSnakeGame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliJ-Official%2FSnakeGame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliJ-Official%2FSnakeGame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliJ-Official%2FSnakeGame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AliJ-Official","download_url":"https://codeload.github.com/AliJ-Official/SnakeGame/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248094987,"owners_count":21046770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fun","game","game-development","gui","py","pygame","python","python3","pythongame","snake","snake-game","snakegame"],"created_at":"2025-04-05T11:18:26.635Z","updated_at":"2025-10-10T18:33:57.506Z","avatar_url":"https://github.com/AliJ-Official.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snake Game 🎮\n\nA classic Snake game built using Python and Pygame. This game features exciting gameplay with special mango food, sound effects, and increasing difficulty as you progress.\n\n---\n\n## Features ✨\n\n- **Classic Gameplay**: Control the snake to eat apples and grow in size.\n- **Special Mango Food**: Occasionally, a mango appears for 5 seconds. Eating it adds 3 points to your score and increases the snake's length.\n- **Dynamic Difficulty**: The snake's speed increases every 5 points, making the game more challenging.\n- **Immersive Sound Effects**: Background music and sound effects for eating food and game over.\n- **Top Score Tracking**: Displays the current score and the top score.\n\n---\n\n## Installation 🛠️\n\nFollow these steps to set up and run the game:\n\n### 1. Clone the Repository\nClone the repository using the following command:\n```bash\ngit clone https://github.com/AliJ-Official/SnakeGame.git\n```\n\nIf you don't have Git installed, you can download the ZIP file from this [link](https://codeload.github.com/AliJ-Official/SnakeGame/zip/refs/heads/main) and extract it.\n\n### 2. Create a Virtual Environment (Recommended)\nCreate a virtual environment to isolate dependencies:\n```bash\npython -m venv .venv\n```\n\n### 3. Activate the Virtual Environment\nActivate the virtual environment using the following command:\n- On Windows:\n  ```bash\n  .venv\\Scripts\\activate\n  ```\n- On macOS/Linux:\n  ```bash\n  source .venv/bin/activate\n  ```\n\n### 4. Install Dependencies\nInstall the required dependencies using pip:\n```bash\npip install pygame\n```\n\n### 5. Run the Game\nRun the game using the following command:\n```bash\npython SnakeGame.py\n```\n\n### 6. Deactivate the Virtual Environment (Optional)\nTo deactivate the virtual environment, use:\n```bash\ndeactivate\n```\n\nAlternatively, you can run the game without activating the virtual environment:\n```bash\n.venv\\Scripts\\python.exe SnakeGame.py\n```\n\n---\n\n## Game Rules 🕹️\n\n1. Do not go outside the snake's boundaries.\n2. Avoid colliding with the snake's own body.\n3. Every 5 points, the snake's speed increases.\n4. Mangoes are special food that appear for 5 seconds. Eating them adds 3 points to your score and increases the snake's length.\n\n---\n## Dependencies 📦\n\nThis project requires Python and the following Python package:\n- **`pygame==2.6.1`**\n\n\n\n---\n\n## License 📜\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n---\n\nEnjoy the game! 🎉\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falij-official%2Fsnakegame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falij-official%2Fsnakegame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falij-official%2Fsnakegame/lists"}