{"id":14963971,"url":"https://github.com/knagaitsev/slither.io-clone","last_synced_at":"2025-06-21T22:33:09.213Z","repository":{"id":58979530,"uuid":"96061265","full_name":"knagaitsev/slither.io-clone","owner":"knagaitsev","description":"Learn how to make Slither.io with JavaScript and Phaser! This game clones all the core features of Slither.io, including mouse-following controls, snake collisions, food, snake growth, eyes, and more. Progress through each part of the source code with our Slither.io tutorial series.","archived":false,"fork":false,"pushed_at":"2018-02-17T16:02:32.000Z","size":211,"stargazers_count":242,"open_issues_count":3,"forks_count":120,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-02T21:57:55.776Z","etag":null,"topics":["game-development","html5-game","javascript","javascript-game","phaser","phaserjs","physics","slither","slitherio","snake","snake-game"],"latest_commit_sha":null,"homepage":"https://loonride.com/learn/phaser/slither-io-part-1","language":"JavaScript","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/knagaitsev.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":"2017-07-03T02:04:00.000Z","updated_at":"2025-04-02T12:36:45.000Z","dependencies_parsed_at":"2022-09-18T18:16:15.334Z","dependency_job_id":null,"html_url":"https://github.com/knagaitsev/slither.io-clone","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/knagaitsev/slither.io-clone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knagaitsev%2Fslither.io-clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knagaitsev%2Fslither.io-clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knagaitsev%2Fslither.io-clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knagaitsev%2Fslither.io-clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knagaitsev","download_url":"https://codeload.github.com/knagaitsev/slither.io-clone/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knagaitsev%2Fslither.io-clone/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261205367,"owners_count":23124797,"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-development","html5-game","javascript","javascript-game","phaser","phaserjs","physics","slither","slitherio","snake","snake-game"],"created_at":"2024-09-24T13:32:24.751Z","updated_at":"2025-06-21T22:33:04.198Z","avatar_url":"https://github.com/knagaitsev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"See the final demo of this series: https://loonride.com/examples/slither-io/slither-io/\n\nPart 1 of the tutorial series: https://loonride.com/learn/phaser/slither-io-part-1\n\nVideo - Coding Slither.io in One Week with JavaScript: https://youtu.be/Nlo8LyO8HAQ\n\n![alt text](https://loonride.com/asset/learn/slither-io/main.png \"how to make Slither.io Part 1\")\n\n\n### About this Clone\n\nThis clone of the game Slither.io was created to teach game design concepts with JavaScript and the Phaser game framework. It showcases physics collisions and organization concepts of the game without implementing the multiplayer server aspect.\n\n**Cloned Features:**\n\n* Player and bot snakes\n* Mouse and arrow-key controls\n* Speeding up with spacebar\n* Death from head-on collisions\n* Random food placed at start\n* Snake growth from eating\n* Food dropped on death\n* Shadows and interactive eyes\n\n\n### Contributing\n\nBecause this source code has a tutorial series built around it, I will only be accepting minor changes. If there is great interest in furthering this clone, I will create a new repository to take contributions. Show your interest by emailing me at contact@loonride.com\n\n\n### Tutorial Links\n\n\u003ca href=\"https://loonride.com/learn/phaser/slither-io-part-1\"\u003eHow to make Slither.io with JavaScript: Part 1 - Introduction\u003c/a\u003e\n\n\u003ca href=\"https://loonride.com/learn/phaser/slither-io-part-2\"\u003eHow to make Slither.io with JavaScript: Part 2 - Snake\u003c/a\u003e\n\n\u003ca href=\"https://loonride.com/learn/phaser/slither-io-part-3\"\u003eHow to make Slither.io with JavaScript: Part 3 - Players \u0026 Bots\u003c/a\u003e\n\n\u003ca href=\"https://loonride.com/learn/phaser/slither-io-part-4\"\u003eHow to make Slither.io with JavaScript: Part 4 - Collisions\u003c/a\u003e\n\n\u003ca href=\"https://loonride.com/learn/phaser/slither-io-part-5\"\u003eHow to make Slither.io with JavaScript: Part 5 - Snake Eyes\u003c/a\u003e\n\n\u003ca href=\"https://loonride.com/learn/phaser/slither-io-part-6\"\u003eHow to make Slither.io with JavaScript: Part 6 - Snake Shadows\u003c/a\u003e\n\n\u003ca href=\"https://loonride.com/learn/phaser/slither-io-part-7\"\u003eHow to make Slither.io with JavaScript: Part 7 - Food \u0026 Conclusion\u003c/a\u003e\n\n\n### Demo Links\n\n\u003ca href=\"https://loonride.com/examples/slither-io/part-2/\"\u003ePart 2 Demo\u003c/a\u003e\n\n\u003ca href=\"https://loonride.com/examples/slither-io/part-3/\"\u003ePart 3 Demo\u003c/a\u003e\n\n\u003ca href=\"https://loonride.com/examples/slither-io/part-4/\"\u003ePart 4 Demo\u003c/a\u003e\n\n\u003ca href=\"https://loonride.com/examples/slither-io/part-5/\"\u003ePart 5 Demo\u003c/a\u003e\n\n\u003ca href=\"https://loonride.com/examples/slither-io/part-6/\"\u003ePart 6 Demo\u003c/a\u003e\n\n\u003ca href=\"https://loonride.com/examples/slither-io/slither-io/\"\u003eFinal Demo\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknagaitsev%2Fslither.io-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknagaitsev%2Fslither.io-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknagaitsev%2Fslither.io-clone/lists"}