{"id":18596171,"url":"https://github.com/yashsaini99/snakegame","last_synced_at":"2025-11-02T06:30:21.031Z","repository":{"id":191193262,"uuid":"684122446","full_name":"YashSaini99/SnakeGame","owner":"YashSaini99","description":"A Snake game made with C++","archived":false,"fork":false,"pushed_at":"2024-07-28T08:24:24.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-26T21:08:51.963Z","etag":null,"topics":["cpp"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YashSaini99.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-08-28T13:57:22.000Z","updated_at":"2024-08-09T13:38:29.000Z","dependencies_parsed_at":"2024-11-07T01:28:37.513Z","dependency_job_id":"36215c65-aa42-409a-af9f-efed3487d970","html_url":"https://github.com/YashSaini99/SnakeGame","commit_stats":null,"previous_names":["yashsaini99/snakegame"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YashSaini99%2FSnakeGame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YashSaini99%2FSnakeGame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YashSaini99%2FSnakeGame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YashSaini99%2FSnakeGame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YashSaini99","download_url":"https://codeload.github.com/YashSaini99/SnakeGame/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239379325,"owners_count":19628684,"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":["cpp"],"created_at":"2024-11-07T01:23:25.190Z","updated_at":"2025-11-02T06:30:20.962Z","avatar_url":"https://github.com/YashSaini99.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snake Game\n\nThis is a simple Snake game implemented in C++ that can be played in the terminal. The game includes basic functionalities such as snake movement and food generation.\n\n## Features\n\n- Classic Snake gameplay\n- Playable in the terminal\n- Simple and intuitive controls\n\n## Getting Started\n\n### Prerequisites\n\nTo compile and run the game, you need to have a C++ compiler installed on your machine.\n\n### Installation\n\n1. Clone the repository:\n    ```sh\n    git clone https://github.com/YashSaini99/SnakeGame.git\n    ```\n\n2. Navigate to the project directory:\n    ```sh\n    cd snake-game\n    ```\n\n3. Compile the game:\n    ```sh\n    g++ snake.cpp -o snake\n    ```\n\n4. Run the game:\n    ```sh\n    ./snake\n    ```\n\n## How to Play\n\n- Use the arrow keys to control the snake's direction.\n- Eat the food to grow longer.\n- Avoid running into the walls or the snake's own body.\n- The game ends when the snake crashes into itself or the wall.\n\n## Controls\n\n- `w` - Move up\n- `s` - Move down\n- `a` - Move left\n- `d` - Move right\n\n## Contributing\n\nContributions are welcome! If you have any ideas for improvements or encounter any issues, please feel free to open an issue or submit a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashsaini99%2Fsnakegame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyashsaini99%2Fsnakegame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashsaini99%2Fsnakegame/lists"}