{"id":19020401,"url":"https://github.com/kauahensilva/c_snake_game","last_synced_at":"2026-06-22T17:32:05.521Z","repository":{"id":221638286,"uuid":"752846686","full_name":"KauaHenSilva/c_snake_game","owner":"KauaHenSilva","description":"Snake Game Recreation in C Language","archived":false,"fork":false,"pushed_at":"2024-03-28T16:10:19.000Z","size":117,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-21T18:24:14.200Z","etag":null,"topics":["c","game-2d"],"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/KauaHenSilva.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}},"created_at":"2024-02-05T00:10:41.000Z","updated_at":"2025-01-18T20:18:23.000Z","dependencies_parsed_at":"2024-02-09T06:28:23.117Z","dependency_job_id":"fe66b489-fbe1-4bea-9b2e-d0933d7db313","html_url":"https://github.com/KauaHenSilva/c_snake_game","commit_stats":null,"previous_names":["kauahensilva/c_snakegame","kauahensilva/c_snake_game"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KauaHenSilva/c_snake_game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KauaHenSilva%2Fc_snake_game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KauaHenSilva%2Fc_snake_game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KauaHenSilva%2Fc_snake_game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KauaHenSilva%2Fc_snake_game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KauaHenSilva","download_url":"https://codeload.github.com/KauaHenSilva/c_snake_game/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KauaHenSilva%2Fc_snake_game/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34659896,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["c","game-2d"],"created_at":"2024-11-08T20:17:04.041Z","updated_at":"2026-06-22T17:32:05.478Z","avatar_url":"https://github.com/KauaHenSilva.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snake Game in C\n\nThis is a project of a snake game implemented in the C language. The game features a snake that the player can control to get food, and the snake grows with each piece of food it eats.\n\n## 🚀 Getting Started\n\nFollow the instructions below to have the project running locally.\n\n## 📋 Prerequisites\n\nMake sure you have the GCC compiler installed on your machine. If you are using Windows, you will also need the Winmm library.\n\nGCC --version:\n```\n  gcc.exe (MinGW.org GCC-6.3.0-1) 6.3.0\n  Copyright (C) 2016 Free Software Foundation, Inc.\n  This is free software; see the source for copying conditions.  There is NO\n  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n```\n\n\n## ❤️ Contribution\n\nContributions are welcome! To contribute, favorite the project and give your opinion about it!\n\n## 🐬 Improve the Project.\n\nHelp improve the project! Fork it and develop your creativity!\n\n\u003ehttps://github.com/KauaHenSilva/C_SnakeGame\n\n## 🔧 Deployment\n\n1. **Clone this repository:**\n\n  ```bash\n  git clone https://github.com/username/project.git\n  ```\n\n2. **Navigate to the project directory:**\n\n  ```bash\n  cd project\n  ```\n\n4. **Compilation with Audio:**\n\n\u003e Uncomment line 13 in the main.c file to add the audio option.\n\n  ```bash\n  gcc .\\main.c -o main.exe -lWinmm\n  ```\n\n5. **Compilation without Audio:**\n\n  ```bash\n  gcc .\\main.c -o main.exe\n  ```\n\n\n### Usage\n\nNow the project is set up. You can run it with the following command:\n \n  ```bash\n  ./main.exe\n  ```\n\nUse the ‘w’, ‘a’, ‘s’, and ‘d’ keys to control the snake, or use the arrow keys to control the snake. The game ends when the snake hits the wall, hits itself, or when the user presses ‘x’.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkauahensilva%2Fc_snake_game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkauahensilva%2Fc_snake_game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkauahensilva%2Fc_snake_game/lists"}