{"id":15954895,"url":"https://github.com/abhyudayasharma/snake","last_synced_at":"2026-04-13T00:43:27.802Z","repository":{"id":110172874,"uuid":"143321355","full_name":"AbhyudayaSharma/Snake","owner":"AbhyudayaSharma","description":"A Snake game made in C using libncurses","archived":false,"fork":false,"pushed_at":"2019-08-24T07:22:53.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T06:43:46.453Z","etag":null,"topics":["c","game","linux","macos","ncurses","snake-game","windows"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AbhyudayaSharma.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":"2018-08-02T16:45:10.000Z","updated_at":"2019-08-24T07:22:55.000Z","dependencies_parsed_at":"2023-03-16T17:31:06.027Z","dependency_job_id":null,"html_url":"https://github.com/AbhyudayaSharma/Snake","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AbhyudayaSharma/Snake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbhyudayaSharma%2FSnake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbhyudayaSharma%2FSnake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbhyudayaSharma%2FSnake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbhyudayaSharma%2FSnake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AbhyudayaSharma","download_url":"https://codeload.github.com/AbhyudayaSharma/Snake/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbhyudayaSharma%2FSnake/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31735541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T22:19:12.206Z","status":"ssl_error","status_checked_at":"2026-04-12T22:18:33.088Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["c","game","linux","macos","ncurses","snake-game","windows"],"created_at":"2024-10-07T13:20:25.877Z","updated_at":"2026-04-13T00:43:27.777Z","avatar_url":"https://github.com/AbhyudayaSharma.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snake\n\n[![Build Status](https://travis-ci.com/AbhyudayaSharma/Snake.svg?branch=master)](https://travis-ci.com/AbhyudayaSharma/Snake)\n[![Language grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/AbhyudayaSharma/Snake.svg?logo=lgtm\u0026logoWidth=18)](https://lgtm.com/projects/g/AbhyudayaSharma/Snake/context:cpp)\n\nA Snake game made in C using libncurses\n\nFor Windows, the executable is built inside the \u003ccode\u003eDebug\u003c/code\u003e or the \u003ccode\u003eRelease\u003c/code\u003e folder, depending on the configuration chosen while building through Visual Studio. The executable is called \u003ccode\u003egame\u003c/code\u003e on Linux and macOS.\n\n**Note**: PDCurses submodule is required to build on Windows but is NOT required for Linux and macOS. However, Xcode is required on macOS. On Linux, it required to install the ncurses package for your distro.\n\n## Building on Linux\n1. Install libncurses\n    - For Debian based distros: \u003ccode\u003eapt-get install libncurses5-dev\u003c/code\u003e\n    - For Fedora: \u003ccode\u003eyum install ncurses-devel\u003c/code\u003e\n    - For OpenSUSE: \u003ccode\u003ezypper in ncurses-devel\u003c/code\u003e\n2. Clone the repository\n3. Run \u003ccode\u003emake\u003c/code\u003e\n4. Run the executable \u003ccode\u003egame\u003c/code\u003e\n\n## Building on macOS\n1. Download Xcode from Apple Store\n2. Run \u003ccode\u003excode-select --install\u003c/code\u003e\n3. Clone the repository and \u003ccode\u003ecd\u003c/code\u003e into the cloned folder\n4. Run \u003ccode\u003emake\u003c/code\u003e\n\nRun \u003ccode\u003emake clean\u003c/code\u003e to remove compiled files\n\n## Building on Windows with Visual Studio 2017\n1. Clone the repository with \u003ccode\u003e--recurse-submodules\u003c/code\u003e flag.\n2. Navigate to \u003ccode\u003ePDCurses\\wincon\u003c/code\u003e and run \u003ccode\u003enmake -f Makefile.vc\u003c/code\u003e using the Developer Command Prompt.\n3. Open the \u003ccode\u003eSnake.sln\u003c/code\u003e with Visual Studio. Select x86 Debug or Release and click on the run button.\n\nWe are able to to make only 32-bit binaries as PDCurses currently provides only a 32 bit library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhyudayasharma%2Fsnake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabhyudayasharma%2Fsnake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhyudayasharma%2Fsnake/lists"}