{"id":25067479,"url":"https://github.com/spafic/pysnake","last_synced_at":"2025-06-18T19:35:40.190Z","repository":{"id":248546419,"uuid":"828984378","full_name":"Spafic/PySnake","owner":"Spafic","description":"PySnake is a classic Snake Game implemented in Python using the Pygame library. Control a snake, eat food, avoid collisions, and strive to achieve the highest score in this nostalgic arcade experience.","archived":false,"fork":false,"pushed_at":"2024-07-15T14:52:24.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T20:57:19.019Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Spafic.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":"2024-07-15T14:16:36.000Z","updated_at":"2024-07-15T14:52:29.000Z","dependencies_parsed_at":"2024-07-15T18:03:41.785Z","dependency_job_id":"8a27e02e-2ce0-4c01-bd77-cdc0df51292e","html_url":"https://github.com/Spafic/PySnake","commit_stats":null,"previous_names":["spafic/pysnake"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spafic%2FPySnake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spafic%2FPySnake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spafic%2FPySnake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spafic%2FPySnake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Spafic","download_url":"https://codeload.github.com/Spafic/PySnake/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246485616,"owners_count":20785357,"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":[],"created_at":"2025-02-06T20:57:27.637Z","updated_at":"2025-03-31T14:49:05.570Z","avatar_url":"https://github.com/Spafic.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PySnake 🐍\n\nPySnake is a classic Snake Game implemented in Python using the Pygame library. Control a snake, eat food, avoid collisions, and strive to achieve the highest score in this nostalgic arcade experience. The game features intuitive controls, dynamic gameplay mechanics, and a sleek dark-themed UI for optimal visibility. Enjoy hours of fun as you navigate the snake through its journey of growth and challenge.\n\n## Installation ⚙️\n\n1. **Clone the repository:**\n\n   ```bash\n   git clone https://github.com/Spafic/PySnake.git\n   cd PySnake\n\n2. **Install dependencies:**\n\n   Make sure you have Python 3.x and Pygame installed. If not, install Pygame using pip:\n\n   ```bash\n   pip install pygame\n   \n3. **Run the game:**\n\n   ```bash\n   python main.py\n\n## Controls 🕹️\n\n Use arrow keys (`↑`, `↓`, `←`, `→`) to change the direction of the snake.\n\n## Gameplay 🎮\n\n- The snake starts moving in a default direction.\n- Control the snake to eat the randomly appearing food.\n- Each food eaten increases the snake's length and score.\n- The game ends if the snake collides with its own body or the game borders.\n- Click the \"Play Again\" button to restart the game after a game over.\n\n## Contributing 🤝\n\nContributions are welcome! Fork the repository and create a pull request with your improvements.\n\n## License 📄\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspafic%2Fpysnake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspafic%2Fpysnake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspafic%2Fpysnake/lists"}