{"id":28494131,"url":"https://github.com/yunzhu-li/multiplayer-snake","last_synced_at":"2025-08-01T16:05:58.033Z","repository":{"id":50810061,"uuid":"61681753","full_name":"yunzhu-li/multiplayer-snake","owner":"yunzhu-li","description":"A multiplayer network snake game made with node.js and socket.io","archived":false,"fork":false,"pushed_at":"2023-04-17T07:31:49.000Z","size":1096,"stargazers_count":13,"open_issues_count":3,"forks_count":15,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-31T19:37:15.645Z","etag":null,"topics":["game","multiplayer","networking","nodejs","socket-io"],"latest_commit_sha":null,"homepage":"https://apps.yunzhu.li/snake/","language":"JavaScript","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/yunzhu-li.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}},"created_at":"2016-06-22T02:14:06.000Z","updated_at":"2024-12-14T18:07:46.000Z","dependencies_parsed_at":"2023-01-23T13:31:24.004Z","dependency_job_id":null,"html_url":"https://github.com/yunzhu-li/multiplayer-snake","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yunzhu-li/multiplayer-snake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunzhu-li%2Fmultiplayer-snake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunzhu-li%2Fmultiplayer-snake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunzhu-li%2Fmultiplayer-snake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunzhu-li%2Fmultiplayer-snake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yunzhu-li","download_url":"https://codeload.github.com/yunzhu-li/multiplayer-snake/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunzhu-li%2Fmultiplayer-snake/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268256756,"owners_count":24221050,"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-01T02:00:08.611Z","response_time":67,"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":["game","multiplayer","networking","nodejs","socket-io"],"created_at":"2025-06-08T09:38:21.406Z","updated_at":"2025-08-01T16:05:58.022Z","avatar_url":"https://github.com/yunzhu-li.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"snake\n-----\nA network snake game synchronization made with nodejs and socket.io.\n\nA **live demo** is available at: [https://apps.yunzhu.li/snake](https://apps.yunzhu.li/snake/)\n\n![Screen Recording](resources/screen_recording.gif)\n\nBranches\n-----\n\n`master` - For low-latency networks (\u003c100ms RTT). Simple and robust.\n\n`rollback_and_prediction` - For high-latency networks. Using `rollback \u0026 prediction` non-blocking synchronization.\n\nRun Your Own Copy\n-----\nThis application is available as a docker image.\n\n- Make sure you have access to `docker`.\n\n- Run:\n  ```\n  docker run -d --rm -p 8000:8000 -e SERVER_URI=\"http://\u003cserver-ip\u003e:8000\" yunzhu/snake\n  ```\n\n- Access `http://\u003cserver-ip\u003e:8000` in your browser.\n\n\u003e The 2 environment variables `SERVER_URI` and `SOCKET_IO_PATH` (optional) are used to configure the socket.io connection info for the client page served by the container.\n\u003e\n\u003e The container always serves client page at `/` and socket.io connection at `/socket.io/`.\n\u003e\n\u003e See: https://socket.io/docs/client-api/#new-manager-url-options\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyunzhu-li%2Fmultiplayer-snake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyunzhu-li%2Fmultiplayer-snake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyunzhu-li%2Fmultiplayer-snake/lists"}