{"id":20603690,"url":"https://github.com/patrickm663/snake-game","last_synced_at":"2025-07-27T02:09:35.760Z","repository":{"id":56758195,"uuid":"524700080","full_name":"patrickm663/snake-game","owner":"patrickm663","description":"Snake in Lua using LOVE2D","archived":false,"fork":false,"pushed_at":"2022-08-14T17:56:24.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-28T02:02:03.676Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/patrickm663.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":"2022-08-14T14:51:42.000Z","updated_at":"2022-08-14T17:48:20.000Z","dependencies_parsed_at":"2022-08-16T01:50:47.217Z","dependency_job_id":null,"html_url":"https://github.com/patrickm663/snake-game","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/patrickm663/snake-game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickm663%2Fsnake-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickm663%2Fsnake-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickm663%2Fsnake-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickm663%2Fsnake-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patrickm663","download_url":"https://codeload.github.com/patrickm663/snake-game/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickm663%2Fsnake-game/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267285746,"owners_count":24064218,"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-07-27T02:00:11.917Z","response_time":82,"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-16T09:18:10.529Z","updated_at":"2025-07-27T02:09:35.733Z","avatar_url":"https://github.com/patrickm663.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# snake-game\n\nSnake in Lua using LOVE2D. Code and instructions provided by https://simplegametutorials.github.io/love/snake/ \n\nThe intention is to create a proof-of-concept game from which to build on and explore the use of A.I. to train a snake algorithm.\n\n## Setup\nEnsure Lua 5.4.x and LOVE2D are installed.\n\nClone and enter the repository:\n```\ngit clone https://github.com/patrickm663/snake-game.git\ncd snake-game\n```\n\nRun the `.lua` files found in `src/` using `love`:\n```lua\nlove src/\n```\n\n## How to Play\nThe snake is controlled by either WASD or directional keys. Eating an apple (marked in red) grows the snake by one segment. If the snake crosses its own path, the snake dies and the game is reset.\n\n## TODO\n- [ ] Add sound\n- [ ] Add a main menu\n- [ ] Add varying difficulties\n- [ ] Fix aspect ratio\n- [ ] Add levels\n- [ ] Add splash screen following win/loss\n- [ ] Add scoreboard\n- [ ] Add A.I. mode\n- [ ] Add two-player mode\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickm663%2Fsnake-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrickm663%2Fsnake-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickm663%2Fsnake-game/lists"}