{"id":15705352,"url":"https://github.com/brahmlower/connect-snake","last_synced_at":"2026-02-11T12:38:18.296Z","repository":{"id":47263470,"uuid":"120291833","full_name":"brahmlower/connect-snake","owner":"brahmlower","description":"An implementation of the game Snake inspired by the classic Connect Four game.","archived":false,"fork":false,"pushed_at":"2023-08-30T05:17:12.000Z","size":5184,"stargazers_count":0,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T15:47:23.106Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://blog.brahmlower.io/connect-snake-game/","language":"TypeScript","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/brahmlower.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":"2018-02-05T10:47:23.000Z","updated_at":"2022-07-26T06:59:12.000Z","dependencies_parsed_at":"2024-10-24T07:05:29.669Z","dependency_job_id":"deb47579-577c-473a-be78-3a9879983a11","html_url":"https://github.com/brahmlower/connect-snake","commit_stats":{"total_commits":28,"total_committers":2,"mean_commits":14.0,"dds":0.0714285714285714,"last_synced_commit":"0507af17f0c1a0911e127e1eb4fa5aff2797e238"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/brahmlower/connect-snake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brahmlower%2Fconnect-snake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brahmlower%2Fconnect-snake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brahmlower%2Fconnect-snake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brahmlower%2Fconnect-snake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brahmlower","download_url":"https://codeload.github.com/brahmlower/connect-snake/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brahmlower%2Fconnect-snake/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272732621,"owners_count":24984190,"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","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-03T20:15:30.847Z","updated_at":"2026-02-11T12:38:13.254Z","avatar_url":"https://github.com/brahmlower.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Connect Snake\n\nAn implementation of the game Snake inspired by the classic Connect Four game and [this gif](https://imgur.com/gallery/GBrEM)!\n\n## Background\n\nThis is the sourcecode for the connect snake game at [blog.brahmlower.io/connect-snake-game](https://blog.brahmlower.io/connect-snake-game/). Controls are arrow keys, and Space will start/pause.\n\n## Using the library\n\nYou can install connect-snake via npm:\n\n```\nnpm install git+https://github.com/brahmlower/connect-snake.git\n```\n\nThe example directory shows the component usage, though there isn't much configuration available at this time. A good deal of energy was put into abstracting the display image from the game itself, so it should be pretty easy to implement other games like [tetris](https://i.imgur.com/FOjGkkX.mp4) or [pong](https://i.imgur.com/Sw0xnSq.mp4).\n\n## Development\n\n1. clone repo\n2. npm install\n3. profit?\n\n### Storybook\n\nYou may need to set the following:\n\n```shell\nexport NODE_OPTIONS=--openssl-legacy-provider\n```\n\nThen start storybook:\n\n```\nnpm run storybook\n```\n\n### Running the Example\n\nBuild the package first, then install the dependencies in the example:\n\n```\nnpm run build\nnpm pack\ncd example\nrm -rf node_modules\nnpm install\nnpm start\n```\n\n## Bugs/Issues/Contributions\n\nIf you found a horrible bug or would like to improve this project in some way, feel free to open a pull request or Issue. If you have questions but are less comfortable posting in a public forum, feel free to email me!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrahmlower%2Fconnect-snake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrahmlower%2Fconnect-snake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrahmlower%2Fconnect-snake/lists"}