{"id":20165548,"url":"https://github.com/tangbc/snake-eat-bugs","last_synced_at":"2026-05-08T21:35:17.287Z","repository":{"id":109494791,"uuid":"195913340","full_name":"tangbc/snake-eat-bugs","owner":"tangbc","description":"🐍🐛 A classical, funny and much more challenging snake game.","archived":false,"fork":false,"pushed_at":"2020-04-03T06:24:11.000Z","size":498,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-03T03:26:22.763Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://tangbc.github.io/snake-eat-bugs/","language":"CSS","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/tangbc.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":"2019-07-09T01:56:16.000Z","updated_at":"2020-07-15T07:31:20.000Z","dependencies_parsed_at":"2023-04-27T11:47:41.057Z","dependency_job_id":null,"html_url":"https://github.com/tangbc/snake-eat-bugs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tangbc/snake-eat-bugs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangbc%2Fsnake-eat-bugs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangbc%2Fsnake-eat-bugs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangbc%2Fsnake-eat-bugs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangbc%2Fsnake-eat-bugs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tangbc","download_url":"https://codeload.github.com/tangbc/snake-eat-bugs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangbc%2Fsnake-eat-bugs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32798623,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-11-14T00:38:16.630Z","updated_at":"2026-05-08T21:35:17.270Z","avatar_url":"https://github.com/tangbc.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"## snake-eat-bugs\n\n🐍🐛 A classical and funny, much more challenging snake game.\n\n\n## Start game\n\nPlay online: https://tangbc.github.io/snake-eat-bugs\n\n\u003cimg src=\"https://tangbc.github.io/re-assets/snake-eat-bugs.png\" width=\"404\" \u003e\n\n\n## Game rules\n\n* Snake cannot eat themselves.\n\n* Snake cannot eat bug leftovers.\n\n* Snake cannot over the boundary line.\n\n\n## Todo list\n\n* [x] Sound effects.\n\n* [x] Scores ranking.\n\n* [x] Mobile side support.\n\n* [x] Prevent bugs trapped area.\n\n* [ ] Improve interval time loop.\n\n\n## Contributions\n\n[Report a bug](https://github.com/tangbc/snake-eat-bugs/issues) or step to develop:\n\n```\ngit clone https://github.com/tangbc/snake-eat-bugs.git\n\ncd /snake-eat-bugs\n\nnpm install\n\nnpm run dev\n```\n\n## Some solutions\n\n#### 1. Prevent bugs trapped area\n\nWhat's the trapped area mean? look at this screenshot:\n\n\u003cimg src=\"https://tangbc.github.io/re-assets/snake-trapped-area.jpg\" width=\"280\"\u003e\n\nIn this condition snake can't eat current bug, so it's a problem. We just need list all conditions of trapped area to fix this bug:\n\n\u003cimg src=\"https://tangbc.github.io/re-assets/snake-avoid-trapped.png\" width=\"444\"\u003e\n\nRed block is exist bug leftovers, green block is new, if green block will cause these 12 conditions above, we just remove it.\n\n####\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangbc%2Fsnake-eat-bugs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftangbc%2Fsnake-eat-bugs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangbc%2Fsnake-eat-bugs/lists"}