{"id":20119421,"url":"https://github.com/drshahinstein/c-snake-game","last_synced_at":"2026-06-05T18:31:53.884Z","repository":{"id":220724805,"uuid":"752345426","full_name":"DrShahinstein/c-snake-game","owner":"DrShahinstein","description":"🐍 Snake game using C and Raylib","archived":false,"fork":false,"pushed_at":"2024-05-01T12:09:34.000Z","size":129,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T07:11:28.744Z","etag":null,"topics":["c","c-game","raylib","raylib-c","snake-game"],"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/DrShahinstein.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":"2024-02-03T17:10:51.000Z","updated_at":"2024-09-29T15:57:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"064d1213-7b1d-4ffe-b3b1-2b2c30f6db47","html_url":"https://github.com/DrShahinstein/c-snake-game","commit_stats":null,"previous_names":["drshahinstein/c-snake-game"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrShahinstein%2Fc-snake-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrShahinstein%2Fc-snake-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrShahinstein%2Fc-snake-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrShahinstein%2Fc-snake-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrShahinstein","download_url":"https://codeload.github.com/DrShahinstein/c-snake-game/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241564447,"owners_count":19982958,"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":["c","c-game","raylib","raylib-c","snake-game"],"created_at":"2024-11-13T19:15:43.220Z","updated_at":"2025-03-02T19:45:09.833Z","avatar_url":"https://github.com/DrShahinstein.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Snake Game in C using Raylib\n\nThis has been the first project of mine where I used C and learned a lot.\n\n## Keys\n\n| Key              | Func          |\n| ---------------- | ------------- |\n| \u003ckbd\u003eSpace\u003c/kbd\u003e | Pause game    |\n| \u003ckbd\u003eEnter\u003c/kbd\u003e | Unpause game  |\n| \u003ckbd\u003eEnter\u003c/kbd\u003e | Restart game  |\n\n## Showcase\n\nhttps://github.com/DrShahinstein/c-snake-game/assets/81323808/005fed72-1ef5-4db2-8dbf-11a335bdc867\n\n## Build\n\nSee [releases](https://github.com/DrShahinstein/c-snake-game/releases/tag/LTS) to get executable binaries right away.\nIf you want to build from source, [raylib](https://github.com/raysan5/raylib) must be installed and maintained on your machine.\n\n### Linux\n\nClone the repository and simply run `make` tool to build snake game in Linux.\n\n```\n$ git clone https://github.com/DrShahinstein/c-snake-game\n$ cd c-snake-game/\n$ make\n$ make run\n```\n\n### Windows\n\nMake sure you have [w64devkit](https://github.com/skeeto/w64devkit) installed on your machine.\nUsing w64devkit terminal, you can follow the exact same instruction with Linux.\n\n```\n$ git clone https://github.com/DrShahinstein/c-snake-game\n$ cd c-snake-game/\n$ make\n$ make run\n```\n\n### Troubleshooting\n\nIn Windows, if you ever face an issue like raylib window not being initialized just as in here:\n\n![problem](https://github.com/DrShahinstein/c-snake-game/assets/81323808/84f0ca09-dbce-4713-b267-97640971e17f)\n\nYou can change the compatibility of the executable to run on Windows 8 or anything else if necessarry like this:\n\n![windowscompatibility](https://github.com/DrShahinstein/c-snake-game/assets/81323808/7e91a2c9-d8ed-4589-a6ef-1c5e149a7cf3)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrshahinstein%2Fc-snake-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrshahinstein%2Fc-snake-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrshahinstein%2Fc-snake-game/lists"}