{"id":21032213,"url":"https://github.com/rami-sabbagh/lua-ansi-snake","last_synced_at":"2025-05-15T13:30:53.725Z","repository":{"id":77059894,"uuid":"217622242","full_name":"Rami-Sabbagh/Lua-ANSI-Snake","owner":"Rami-Sabbagh","description":"Terminal Snake game written in Lua, requires the lcurses library, an ANSI compliant terminal and luasocket.","archived":false,"fork":false,"pushed_at":"2019-10-25T23:25:51.000Z","size":102,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T09:21:32.805Z","etag":null,"topics":["ansi","lcurses","lua","luajit","ncurses","terminal-based","terminal-based-game","terminal-game"],"latest_commit_sha":null,"homepage":null,"language":"Lua","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/Rami-Sabbagh.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":"2019-10-25T22:17:19.000Z","updated_at":"2025-03-15T21:35:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"d60052ba-ad3c-4ef8-84dd-65b70bc3b39a","html_url":"https://github.com/Rami-Sabbagh/Lua-ANSI-Snake","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rami-Sabbagh%2FLua-ANSI-Snake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rami-Sabbagh%2FLua-ANSI-Snake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rami-Sabbagh%2FLua-ANSI-Snake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rami-Sabbagh%2FLua-ANSI-Snake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rami-Sabbagh","download_url":"https://codeload.github.com/Rami-Sabbagh/Lua-ANSI-Snake/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254349234,"owners_count":22056304,"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","lcurses","lua","luajit","ncurses","terminal-based","terminal-based-game","terminal-game"],"created_at":"2024-11-19T12:41:36.594Z","updated_at":"2025-05-15T13:30:53.704Z","avatar_url":"https://github.com/Rami-Sabbagh.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lua-ANSI-Snake\nTerminal Snake game written in Lua, requires the lcurses library, an ANSI compliant terminal and luasocket.\n\n\u003e The game should work under Linux and macOS, but not on Windows, instead run it under WSL (Windows Subsystem Linux).\n\n## Installation\n\nTo run the game you need to have `luasocket` and `lcurses` installed first.\n\nYou can do so using luarocks:\n\n```\nsudo luarocks install luasocket\nsudo luarocks install lcurses\n```\n\nIn-case `lcurses` fails to install, you might have to install the `libncurses5-dev` package, which could be installed under ubuntu using:\n\n```\nsudo apt install libncurses5-dev\n```\n\nOnce that done, download `snake.lua` and run it using lua or luajit:\n\n```\nluajit snake.lua\n```\n\n## Screenshots\n\n![Gif_01](https://github.com/RamiLego4Game/Lua-ANSI-Snake/raw/master/Media/Gif_01.gif)\n![Screenshot_01](https://github.com/RamiLego4Game/Lua-ANSI-Snake/raw/master/Media/Screenshot_01.png)\n![Screenshot_02](https://github.com/RamiLego4Game/Lua-ANSI-Snake/raw/master/Media/Screenshot_02.png)\n![Screenshot_03](https://github.com/RamiLego4Game/Lua-ANSI-Snake/raw/master/Media/Screenshot_03.png)\n![Screenshot_04](https://github.com/RamiLego4Game/Lua-ANSI-Snake/raw/master/Media/Screenshot_04.png)\n\n## License\n\n```\nMIT License\n\nCopyright (c) 2019 Rami Sabbagh\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frami-sabbagh%2Flua-ansi-snake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frami-sabbagh%2Flua-ansi-snake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frami-sabbagh%2Flua-ansi-snake/lists"}