{"id":27345479,"url":"https://github.com/zuygui/sfml-snake","last_synced_at":"2025-07-15T22:08:28.580Z","repository":{"id":226090008,"uuid":"767726593","full_name":"zuygui/sfml-snake","owner":"zuygui","description":"The original Snake Game written in C++ with SFML.","archived":false,"fork":false,"pushed_at":"2024-03-06T09:52:36.000Z","size":107,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T19:53:09.078Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/zuygui.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,"zenodo":null}},"created_at":"2024-03-05T19:42:30.000Z","updated_at":"2024-03-05T19:42:57.000Z","dependencies_parsed_at":"2024-03-08T11:00:42.776Z","dependency_job_id":null,"html_url":"https://github.com/zuygui/sfml-snake","commit_stats":null,"previous_names":["zuygui/sfml-snake"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zuygui/sfml-snake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuygui%2Fsfml-snake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuygui%2Fsfml-snake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuygui%2Fsfml-snake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuygui%2Fsfml-snake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zuygui","download_url":"https://codeload.github.com/zuygui/sfml-snake/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuygui%2Fsfml-snake/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265463865,"owners_count":23770308,"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-04-12T18:00:26.102Z","updated_at":"2025-07-15T22:08:28.555Z","avatar_url":"https://github.com/zuygui.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🐍 Snake SFML\n\n[![GitHub License](https://img.shields.io/github/license/zuygui/sfml-snake)](LICENSE)\n\nA classic Snake game implemented using SFML library. This project was coded on twitch. Here is a replay:\n\n[![Youtube Preview](docs/imgs/youtube.png)](https://www.youtube.com/watch?v=jyDlxqVOZMAs)\n\n## 🎮 Gameplay\n\nIn this game, you control a snake that moves around the screen and eats food to grow longer. The objective is to avoid colliding with the snake's own body. The game ends when the snake collides with any of these obstacles.\n\n## 🚀 Features\n\n- Simple and intuitive controls\n- Randomly generated food for the snake to eat\n- Score tracking to keep track of your progress\n\n## 🛠️ Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/your-username/sfml-snake.git\n```\n\n2. Build the project using Make:\n\n```bash\ncd sfml-snake\nmkdir bin\nmkdir obj\nmake\n```\n\n3. Run the game:\n\n```bash\n./bin/sfml-snake\n```\n\n## 🕹️ Controls\n\n- Use the arrow keys to control the snake's movement:\n  - Up: Move the snake upwards\n  - Down: Move the snake downwards\n  - Left: Move the snake to the left\n  - Right: Move the snake to the right\n\n## 📝 License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n## 🤝 Contributing\n\nContributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.\n\n## 📞 Contact\n\nFor any questions or inquiries, feel free to open an issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuygui%2Fsfml-snake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzuygui%2Fsfml-snake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuygui%2Fsfml-snake/lists"}