{"id":20986325,"url":"https://github.com/dheovani/snakegame","last_synced_at":"2025-06-25T08:36:34.933Z","repository":{"id":228396306,"uuid":"772097818","full_name":"Dheovani/SnakeGame","owner":"Dheovani","description":"Recreated my SnakeGame in C++ with SFML Graphics library","archived":false,"fork":false,"pushed_at":"2024-03-15T12:02:43.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T11:23:49.484Z","etag":null,"topics":["cplusplus","cpp","game","game-development","gamedev","sfml","sfml-cpp","sfml-game","sfml-game-development","sfml-graphics-library","snake","snake-game","snakegame"],"latest_commit_sha":null,"homepage":"","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/Dheovani.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2024-03-14T14:31:16.000Z","updated_at":"2024-03-18T13:40:07.000Z","dependencies_parsed_at":"2024-03-18T16:13:57.224Z","dependency_job_id":"c0d5283d-2b07-45c0-9904-1ee5f895f5e4","html_url":"https://github.com/Dheovani/SnakeGame","commit_stats":null,"previous_names":["dheovani/snakegame"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Dheovani/SnakeGame","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dheovani%2FSnakeGame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dheovani%2FSnakeGame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dheovani%2FSnakeGame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dheovani%2FSnakeGame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dheovani","download_url":"https://codeload.github.com/Dheovani/SnakeGame/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dheovani%2FSnakeGame/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261836693,"owners_count":23217279,"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":["cplusplus","cpp","game","game-development","gamedev","sfml","sfml-cpp","sfml-game","sfml-game-development","sfml-graphics-library","snake","snake-game","snakegame"],"created_at":"2024-11-19T06:13:05.041Z","updated_at":"2025-06-25T08:36:34.910Z","avatar_url":"https://github.com/Dheovani.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SnakeGame\n\n[Gameplay](https://github.com/Dheovani/SnakeGame/assets/79609196/dbbe117f-a8fb-4a6a-ab3d-7d1fde38cffb)\n\nThis is a classic Snake game implemented in C++. It's a simple yet entertaining game where the player controls a snake that grows longer as it consumes food.\n\n## How to Play\n\n1. Clone or download the repository.\n2. Compile the code using a C++ compiler, e.g., `gcc main.cpp -o snake_game`.\n3. Run the game with `./snake_game` (on Unix-based systems) or `snake_game.exe` (on Windows).\n\n## Controls\n\n- Use the arrow keys to control the direction of the snake:\n  - Up:    `↑`\n  - Down:  `↓`\n  - Left:  `←`\n  - Right: `→`\n  - Enter: 🔄\n\n## Gameplay\n\n- The snake starts with a length of one.\n- Move the snake to collect food (green circles).\n- The snake grows in size when it eats food.\n- Try to achieve the highest score by eating as much food as possible without colliding with yourself.\n\n## License\n\nThis Snake Game in C++ is open-source and available under the [MIT License](LICENSE). You are free to use and modify the code for your purposes.\n\nHappy gaming! 🐍\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdheovani%2Fsnakegame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdheovani%2Fsnakegame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdheovani%2Fsnakegame/lists"}