{"id":22525779,"url":"https://github.com/mr-ema/cnake","last_synced_at":"2025-03-28T03:47:05.825Z","repository":{"id":174561358,"uuid":"652413657","full_name":"mr-ema/cnake","owner":"mr-ema","description":"Snake game implemented in C width raylib and vim motions for movement.","archived":false,"fork":false,"pushed_at":"2024-02-07T14:45:26.000Z","size":1011,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T05:16:31.550Z","etag":null,"topics":["build-zig","c","raylib","snake-game"],"latest_commit_sha":null,"homepage":"https://mr-ema.github.io/games/cnake/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mr-ema.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}},"created_at":"2023-06-12T02:57:06.000Z","updated_at":"2024-02-06T23:48:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"d665b66d-fc89-4833-b937-7459131318e0","html_url":"https://github.com/mr-ema/cnake","commit_stats":null,"previous_names":["mr-ema/cnake"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-ema%2Fcnake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-ema%2Fcnake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-ema%2Fcnake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-ema%2Fcnake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mr-ema","download_url":"https://codeload.github.com/mr-ema/cnake/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245966933,"owners_count":20701759,"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":["build-zig","c","raylib","snake-game"],"created_at":"2024-12-07T06:11:38.807Z","updated_at":"2025-03-28T03:47:05.804Z","avatar_url":"https://github.com/mr-ema.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cnake\nSnake game implemented in C using the raylib library, with vim motions by default for movement.\n\n\u003c/br\u003e\n\n\u003cp  align=\"center\"\u003e\n  \u003cimg\n    src=\"https://github.com/mr-ema/cnake/blob/main/assets/banner.svg\"\n    alt=\"Banner\"\n    title=\"Banner\"\n    style=\"display: inline-block; margin: 0 auto; height: auto; width: 80%;\"\u003e\n\u003c/p\u003e\n\n\u003c/br\u003e\n\u003c/br\u003e\n\n## Resources\n- [raylib](https://www.raylib.com)\n- [raylib snake game example](https://github.com/raysan5/raylib-games/blob/master/classics/src/snake.c)\n\n\u003c/br\u003e\n\u003c/br\u003e\n\n## Features\n- [x] Basic Title Screen\n- [x] Score tracking to keep track of the player's progress\n- [x] Randomized food spawning\n- [x] Snake grows longer when it eats food\n- [x] Game over condition when the snake collides with the boundaries or itself\n- [x] Options menu\n- [x] Configurable controls at run-time [Options menu]\n- [x] Configurable mode (slow - normal - fast - blazingly fast)\n \n\u003c/br\u003e\n\u003c/br\u003e\n\n## Demo\n![Demo](https://github.com/mr-ema/cnake/blob/main/assets/demo.gif)\n\n\u003c/br\u003e\n\u003c/br\u003e\n\n## How To Build\nBefore you start, make sure you have the required dependencies for\nraylib installed. Refer to the official [raylib - build and installation\nguide](https://github.com/raysan5/raylib#build-and-installation) for\ninstructions on setting up the necessary environment.\n\n```\ngit clone --recurse-submodules https://github.com/mr-ema/cnake\ncd cnake/\nzig build\n```\n\n\u003c/br\u003e\n\u003c/br\u003e\n\n## Acknowledgements\nThis game was developed using [raylib](https://www.raylib.com/),\na simple and easy-to-use game development library. raylib provides\na rich set of functionality and is well-suited for creating 2D games\nand interactive applications.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-ema%2Fcnake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmr-ema%2Fcnake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-ema%2Fcnake/lists"}