{"id":20770483,"url":"https://github.com/dannyvankooten/cnake","last_synced_at":"2025-08-23T20:15:17.521Z","repository":{"id":221504634,"uuid":"754577025","full_name":"dannyvankooten/cnake","owner":"dannyvankooten","description":"Snake in your terminal. In C, no dependencies. ","archived":false,"fork":false,"pushed_at":"2024-02-09T16:25:24.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-08T01:03:53.643Z","etag":null,"topics":["ansi-escape-codes","c","snake"],"latest_commit_sha":null,"homepage":"","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/dannyvankooten.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}},"created_at":"2024-02-08T10:56:03.000Z","updated_at":"2024-02-08T19:52:14.000Z","dependencies_parsed_at":"2024-02-08T11:54:03.481Z","dependency_job_id":null,"html_url":"https://github.com/dannyvankooten/cnake","commit_stats":null,"previous_names":["dannyvankooten/cnake"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannyvankooten%2Fcnake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannyvankooten%2Fcnake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannyvankooten%2Fcnake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannyvankooten%2Fcnake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dannyvankooten","download_url":"https://codeload.github.com/dannyvankooten/cnake/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243104204,"owners_count":20236943,"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":["ansi-escape-codes","c","snake"],"created_at":"2024-11-17T12:09:51.385Z","updated_at":"2025-03-11T19:49:05.280Z","avatar_url":"https://github.com/dannyvankooten.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cnake\n\nSnake in your terminal. In C, no dependencies.\n\n![Screenshot of the game](screenshot.png)\n\n## Usage\n\nRun `make` to compile.\n\n```\nmake\n```\n\nAlternatively, invoke your compiler of choice directly:\n\n```\ncc cnake.c -O2 -o cnake\n```\n\nThen run `cnake` from your terminal to start the game.\n\n### Controls\n\n- `wasd` to change direction.\n- `+` or `-` to in- or decrease the snake's speed.\n- `ESC` or `Ctrl+C` to quit.\n\n## Related resources\n\n- everything you ever wanted to know about terminals, https://xn--rpa.cc/irl/term.html\n- ANSI escape codes, https://en.wikipedia.org/wiki/ANSI_escape_code\n\n## License\n\n[UNLICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannyvankooten%2Fcnake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdannyvankooten%2Fcnake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannyvankooten%2Fcnake/lists"}