{"id":36659663,"url":"https://github.com/radicazz/slang","last_synced_at":"2026-01-27T23:54:33.674Z","repository":{"id":308403230,"uuid":"1032166966","full_name":"radicazz/slang","owner":"radicazz","description":"Cross-platform snake written in C99","archived":false,"fork":false,"pushed_at":"2025-12-15T21:35:08.000Z","size":164,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-16T21:36:29.652Z","etag":null,"topics":["c99","cmake","cross-platform","game","sdl","snake"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/radicazz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-08-04T23:17:09.000Z","updated_at":"2025-12-15T21:34:42.000Z","dependencies_parsed_at":"2025-09-09T06:24:49.435Z","dependency_job_id":"20490a8a-e881-4883-bdf0-882897ee7cd4","html_url":"https://github.com/radicazz/slang","commit_stats":null,"previous_names":["vortexshrimp/csnake","vortexshrimp/arcade","radicazz/arcade","radicazz/slang"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/radicazz/slang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radicazz%2Fslang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radicazz%2Fslang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radicazz%2Fslang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radicazz%2Fslang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/radicazz","download_url":"https://codeload.github.com/radicazz/slang/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radicazz%2Fslang/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338280,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["c99","cmake","cross-platform","game","sdl","snake"],"created_at":"2026-01-12T10:26:05.536Z","updated_at":"2026-01-27T23:54:33.654Z","avatar_url":"https://github.com/radicazz.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🐍 slang\n\n[![Release](https://img.shields.io/github/v/release/radicazz/slang?include_prereleases\u0026color=blue)](https://github.com/radicazz/slang/releases)\n[![tests](https://github.com/radicazz/slang/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/radicazz/slang/actions/workflows/tests.yml)\n[![License](https://img.shields.io/github/license/radicazz/slang?color=yellow)](https://github.com/radicazz/slang/blob/main/LICENSE.txt)\n\nMy take on the classic snake game, built using C99, CMake and SDL3.\n\n\u003c!-- markdownlint-disable MD033 --\u003e\n\u003cdetails\u003e\n\u003csummary\u003eGameplay Example\u003c/summary\u003e\n\n![GIF of slang game showing a snake made of green segments on a dark background with a red apple](data/gameplay-example.gif)\n\n\u003c/details\u003e\n\u003c!-- markdownlint-enable MD033 --\u003e\n\n## Controls\n\n- Use `arrows` or `wasd` to control the snake.\n- Eat the red apples to grow longer and score points.\n- Avoid running into yourself, or it's game over!\n- Walls will wrap around to the other side of the screen.\n- Use `esc` to pause and unpause the game.\n- Use the Options button on the start or pause menus to adjust volume or mute.\n\n## Config\n\nThe game writes a `config.ini` file next to the executable on all platforms. If the file is missing or invalid, it is\nrecreated with defaults.\n\nExample:\n\n```ini\nhigh_score=12\nmute=0\nvolume=0.80\nresume_delay=2\n```\n\n## Building\n\n\u003e This project uses git submodules to manage dependencies. They may require additional dependencies themselves.\n\n- [C Compiler](https://en.cppreference.com/w/c.html) (e.g., GCC, Clang, MSVC)\n- [CMake](https://cmake.org/) (version 3.16 or higher)\n- [SDL3](https://www.libsdl.org/) (automatically handled via submodules)\n\nStart off by cloning the repository with its submodules:\n\n```bash\n# Clone the repository with submodules\ngit clone --recurse-submodules https://github.com/radicazz/slang.git\ncd slang\n```\n\nThen, configure and build the project using CMake:\n\n```bash\n# Configure \u0026 build the project\ncmake -S . -B build\ncmake --build build\n```\n\nThe compiled executable will be located in the `build` directory.\n\n## License\n\nThis project is licensed under the GNU General Public License v3.0 - see the [LICENSE.txt](LICENSE.txt) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradicazz%2Fslang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradicazz%2Fslang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradicazz%2Fslang/lists"}