{"id":19510687,"url":"https://github.com/meta-ben/snake","last_synced_at":"2026-05-12T20:13:56.132Z","repository":{"id":248616875,"uuid":"829178879","full_name":"Meta-Ben/Snake","owner":"Meta-Ben","description":"2014 - C++ / SDL Snake game","archived":false,"fork":false,"pushed_at":"2024-07-15T23:22:39.000Z","size":455,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T11:47:37.131Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Meta-Ben.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-07-15T23:21:20.000Z","updated_at":"2024-07-16T00:41:46.000Z","dependencies_parsed_at":"2024-07-16T04:57:28.126Z","dependency_job_id":"b83e967e-7bb5-4173-8fd1-00b277b5e23b","html_url":"https://github.com/Meta-Ben/Snake","commit_stats":null,"previous_names":["amealky/snake","meta-ben/snake"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meta-Ben%2FSnake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meta-Ben%2FSnake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meta-Ben%2FSnake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meta-Ben%2FSnake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Meta-Ben","download_url":"https://codeload.github.com/Meta-Ben/Snake/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240761142,"owners_count":19853256,"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":[],"created_at":"2024-11-10T23:16:44.913Z","updated_at":"2026-05-12T20:13:56.101Z","avatar_url":"https://github.com/Meta-Ben.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"``Reupload project from 2014 : This project was recovered so don't take commits into accounts``\n\n\u003ch1 align=\"center\"\u003e🐍 Snake SDL 🐍\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n   \u003ca href=\"https://fr.wikipedia.org/wiki/C%2B%2B\"\u003e \n        \u003cimg src=\"https://img.shields.io/badge/C++17-%204--2--1?style=for-the-badge\u0026label=language\u0026color=blue\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://fr.wikipedia.org/wiki/Simple_DirectMedia_Layer\"\u003e \n        \u003cimg src=\"https://img.shields.io/badge/2--0--9-SDL%204--2--1?style=for-the-badge\u0026logo=SDL\u0026logoColor=white\u0026label=SDL%20version\u0026color=darkblue\"\u003e\n    \u003c/a\u003e\n  \n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n \u003cimg  src=\"https://i.ibb.co/rdCj8Lp/ezgif-2-fe1efe54b0.gif\"\u003e\n\u003c/p\u003e\n\n\n## Overview\nThis project is a C++ implementation of the famous [Snake Game](https://en.wikipedia.org/wiki/Snake_(video_game_genre)) using SDL.\n\n## Run it\nThe github file already provide the ``.exe`` and a ``binary linux file`` just double click on the file regarding your OS\n\nYou can also open a terminal and run ``make run`` at the root of the project\n\n## How to play\nArrow -\u003e Turn the snake\n\nThe rule are simple, eat the white square to grow and avoid touching edge of the screen or your own tail and go as far as you can\n\n\n## Build the project\nIf you want to build the project you can follow the steps below :\n\n- Ensure you have ``GCC`` installed\n- ( For ``Windows`` users install ``MinGw`` )\n- Download [SDL-2.0.9](https://sourceforge.net/projects/libsdl/files/SDL/2.0.9/)\n- Open the Makefile and set the var ``SDL_FOLDER`` at the path where your SDL folder is\n- And then just run ``make compile`` (`` MinGw32-make compile``  for windows users ) command this will replace the binary in the output folder that match your OS\n- Then you can launch the app or run ``make run``  \n\n\nNote : Build with G++11.4.0 using SDL-2.0.9\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeta-ben%2Fsnake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeta-ben%2Fsnake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeta-ben%2Fsnake/lists"}