{"id":20557022,"url":"https://github.com/sharpvik/snake","last_synced_at":"2026-07-17T04:36:21.800Z","repository":{"id":114206344,"uuid":"170759876","full_name":"sharpvik/snake","owner":"sharpvik","description":"Snake Game made with HTML/CSS/JS and LOVE.","archived":false,"fork":false,"pushed_at":"2019-02-16T16:48:21.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-26T22:45:54.519Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/sharpvik.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-02-14T21:22:30.000Z","updated_at":"2019-02-16T16:48:22.000Z","dependencies_parsed_at":"2023-06-15T23:30:20.917Z","dependency_job_id":null,"html_url":"https://github.com/sharpvik/snake","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sharpvik/snake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharpvik%2Fsnake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharpvik%2Fsnake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharpvik%2Fsnake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharpvik%2Fsnake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sharpvik","download_url":"https://codeload.github.com/sharpvik/snake/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharpvik%2Fsnake/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35568173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-17T02:00:06.162Z","response_time":116,"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-11-16T03:34:20.398Z","updated_at":"2026-07-17T04:36:21.720Z","avatar_url":"https://github.com/sharpvik.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snake Game v1.0\n\nThis is a very simplistic Snake Game made with HTML/CSS/JS and *LOVE*. Do with it what you want -- there is no license attached. No frameworks (like jQuery) were used or harmed -- **Vanilla JavaScript only**.\n\n## How to Use\n\n1. Download as ZIP or Clone;\n2. Open *index.html* in your browser;\n3. Play fare, gain points and, most importantly -- ENJOY!\n\n## Contribute\n\nIf you wish to improve the game -- by all means, do so -- fork the repo and change it! If you wish to merge back into this repo, please, be my guest -- I will go through all push requests myself and cherry-pick the stuff that I like. \n\nYou'd possibly want to:\n\n+ Add screen adaptivity to the game;\n+ Add mobile controls to make the game keyboard-independent;\n+ Change appearance of the snake/fruit;\n\n## Modification\n\nCool thing about games like this is -- you can see what's happening under the hood and tweak the code yourself. Use this opportunity to learn something new (maybe). I tried to keep it clean and avoid spaghetti code: constructor and utility functions are separated from the *main.js* file so it's extremely easy to read the code and *understand* what it's doing. The *main.css* file is responsible for all the styles, therefore, changing the looks of the game is a piece of cake! The *index.html* file has a sample of the *field structure* that will ease your understanding of how the field is constructed.\n\n## Contact\n\nFor any personal or business enquiries:\n\n+ Email: *sharp.vik@gmail.com*\n+ [Twitter](https://twitter.com/sharp_vik)\n+ [VK](https://vk.com/perigrinus)\n+ [Instagram](https://www.instagram.com/viktooooor)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharpvik%2Fsnake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsharpvik%2Fsnake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharpvik%2Fsnake/lists"}