{"id":23269999,"url":"https://github.com/alexlnkp/snekfml","last_synced_at":"2025-08-16T22:34:33.544Z","repository":{"id":234824582,"uuid":"789573504","full_name":"alexlnkp/snekfml","owner":"alexlnkp","description":"an oversimplified version of snek game","archived":false,"fork":false,"pushed_at":"2024-06-29T00:23:37.000Z","size":107,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-19T18:42:23.460Z","etag":null,"topics":["cpp","sfml-game","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexlnkp.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":"2024-04-20T23:49:13.000Z","updated_at":"2024-09-02T19:12:27.000Z","dependencies_parsed_at":"2024-04-29T13:32:47.887Z","dependency_job_id":null,"html_url":"https://github.com/alexlnkp/snekfml","commit_stats":null,"previous_names":["alexlnkp/snekfml"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexlnkp%2Fsnekfml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexlnkp%2Fsnekfml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexlnkp%2Fsnekfml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexlnkp%2Fsnekfml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexlnkp","download_url":"https://codeload.github.com/alexlnkp/snekfml/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238489810,"owners_count":19481049,"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":["cpp","sfml-game","snake-game"],"created_at":"2024-12-19T18:37:24.391Z","updated_at":"2025-02-12T14:45:18.179Z","avatar_url":"https://github.com/alexlnkp.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CodeQL](https://github.com/alexlnkp/snekfml/actions/workflows/codeql.yml/badge.svg?branch=main)](https://github.com/alexlnkp/snekfml/actions/workflows/codeql.yml) [![C/C++ CI](https://github.com/alexlnkp/snekfml/actions/workflows/c-cpp.yml/badge.svg?branch=main)](https://github.com/alexlnkp/snekfml/actions/workflows/c-cpp.yml) \u003csub\u003e...somehow\u003c/sub\u003e\n\n# **snek**-fml\n\n### A quickly hacked together attempt at making lowest size executable possible for a simple snake game on SFML\nDecided to make this to introduce myself to SFML. As it turns out - nothing is quite pleasant whenever you try to fight back against the compiler.\n\n## Dependencies\nYou'll need to install sfml. That's it.\n\nUse your favorite package manager to do so.\n\n\n\nExamples on different distros:\n- Arch:\n    `pacman -Syu sfml`\n- Ubuntu:\n    `apt-get install libsfml-dev`\n\nOn Windows... Uhh... I'm not sure to be entirely honest. You'll probably have to manually link everything... Sorry\n\n## Build dependencies\nYou will need meson and ninja to build this project. Use your favorite package manager to install those.\n\nExamples on different distros:\n- Arch:\n    `pacman -Syu meson ninja`\n- Ubuntu:\n    `apt-get install meson ninja-build`\n\n## Build\nEasy. Use `autobuild` script.\n```\nUsage: ./autobuild [OPTION] [ARG]\n\n       Common flags:\n\n  -h,  --help              Show this help message and exit.\n  -d,  --debug             Build the program in debug mode.\n\n  -gd, --graphical-debug   Build the program with GraphicDebugging\n\n       OVERRIDE flags:\n\n  -n,  --no-compression    Don't apply any additional compression to compiled executable\n  -f,  --force-compression Force compression on compiled executable\n  -X,  --force-reconfigure Forcefully remove build directory and reconfigure meson\n\n  Note: If no flags are given, the program will be built in release mode with extra compression afterwards.\n```\n\u003csub\u003ei.e. just do `./autobuild`.\u003c/sub\u003e\n\n## Current state\n- [x] Handle Snake's head collision with its tail\n- [x] Handle Game Over conditions\n- [x] Restarting the game after GameOver\n- [ ] Quick-succesion presses\n- [ ] \"Grace\" period when you're about to hit your own tail or a boundry\n\n# Credit\nOriginal Font **Press Start K** - codeman38\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexlnkp%2Fsnekfml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexlnkp%2Fsnekfml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexlnkp%2Fsnekfml/lists"}