{"id":21190090,"url":"https://github.com/vanflux/google-snake-multiplayer-mod","last_synced_at":"2025-08-01T05:04:49.254Z","repository":{"id":58825445,"uuid":"531199726","full_name":"vanflux/google-snake-multiplayer-mod","owner":"vanflux","description":"A mod for google snake game to add multiplayer support.","archived":false,"fork":false,"pushed_at":"2023-05-12T02:08:01.000Z","size":2555,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-21T13:33:57.543Z","etag":null,"topics":["game","google","multiplayer","snake"],"latest_commit_sha":null,"homepage":"","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/vanflux.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}},"created_at":"2022-08-31T17:59:07.000Z","updated_at":"2023-05-14T23:55:56.000Z","dependencies_parsed_at":"2023-02-13T04:35:27.242Z","dependency_job_id":null,"html_url":"https://github.com/vanflux/google-snake-multiplayer-mod","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanflux%2Fgoogle-snake-multiplayer-mod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanflux%2Fgoogle-snake-multiplayer-mod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanflux%2Fgoogle-snake-multiplayer-mod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanflux%2Fgoogle-snake-multiplayer-mod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vanflux","download_url":"https://codeload.github.com/vanflux/google-snake-multiplayer-mod/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243646539,"owners_count":20324583,"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":["game","google","multiplayer","snake"],"created_at":"2024-11-20T18:59:23.106Z","updated_at":"2025-03-14T20:44:16.538Z","avatar_url":"https://github.com/vanflux.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  GSM Mod (no longer working 2023)\u003cbr\u003e\n  \u003ci\u003eGoogle Snake Multiplayer Mod\u003c/i\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  A mod that makes google snake game multiplayer!\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/v/release/vanflux/google-snake-multiplayer-mod\" /\u003e\n  \u003cimg src=\"https://img.shields.io/github/actions/workflow/status/vanflux/google-snake-multiplayer-mod/build-release.yml\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eAD time\u003c/b\u003e: This project uses \u003ca href=\"https://github.com/vanflux/vf-ext\"\u003evf-ext\u003c/a\u003e to create browser extensions.\u003cbr\u003e\n  If you want to create extensions like this, take a look.\n\u003c/p\u003e\n\n# Usage, Play the game\n\n- Download the `gsm-bookmark.html` file from the [latest release](https://github.com/vanflux/google-snake-multiplayer-mod/releases/latest)\n- Open `chrome://bookmarks/` on google chrome (sorry, firefox is not supported now)\n- At the top on the right, click on the three-dots icon \u003e `Import bookmarks` \u003e select the downloaded `gsm-bookmark.html` file\n- Open snake game\n- At the top on the right, click on the three-dots icon \u003e Bookmarks \u003e GSM Mod\n- Enjoy\n\n# Demo\n\n![Demo gif](docs/gifs/demo.gif)\n\n# Host my own server\n\n- Install Node 16\n- Clone repository: `git clone git@github.com:vanflux/google-snake-multiplayer-mod.git`\n- Go to repository folder: `cd google-snake-multiplayer-mod`\n- Install dependencies: `npm i`\n- Run server: `npm run server`\n\n# Development\n\n- Install Node 16\n- Clone repository\n- Install dependencies: `npm i`\n- Run browser code as an auto reload extension: `npm start \u003cchrome/firefox\u003e`\n- Load the extension located on `build/dev` on your browser\n- Run server with `npm run server`\n\n# Network\n\nThe networking has been optimized since v0.1.2, we are not serializing the entire game instance, we are sending only the needed data, thanks to the linker by making the class field names more friendly.\n\n- 2 Players playing an hour:\n  - Each player uploads 200 B/packet * 5 packets/s = 1kB/s\n  - Total download and upload(SEPARATELY) = (200 * 5 * 2 * 60 * 60) / 1000000 = 7.2 MB/hour\n\n# Errors\n\nI can't connect to my own server(IP address is not 127.0.0.1 or localhost):\n\nYou will need to do the following to disable secure content:\n\n![Insecure content step 1](docs/images/insecure-content-1.png)\n![Insecure content step 2](docs/images/insecure-content-2.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanflux%2Fgoogle-snake-multiplayer-mod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanflux%2Fgoogle-snake-multiplayer-mod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanflux%2Fgoogle-snake-multiplayer-mod/lists"}