{"id":15170581,"url":"https://github.com/eleev/snake-swiftui","last_synced_at":"2025-10-25T19:30:59.655Z","repository":{"id":254324571,"uuid":"846193740","full_name":"eleev/snake-swiftui","owner":"eleev","description":"🎮 Vanilla SwiftUI snake game","archived":false,"fork":false,"pushed_at":"2024-08-25T07:00:43.000Z","size":16926,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-01T05:21:42.168Z","etag":null,"topics":["game","ios","metal","swiftui"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/eleev.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":"2024-08-22T17:56:23.000Z","updated_at":"2024-09-08T12:41:39.000Z","dependencies_parsed_at":"2024-08-25T07:50:54.305Z","dependency_job_id":null,"html_url":"https://github.com/eleev/snake-swiftui","commit_stats":null,"previous_names":["eleev/snake-swiftui"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eleev%2Fsnake-swiftui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eleev%2Fsnake-swiftui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eleev%2Fsnake-swiftui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eleev%2Fsnake-swiftui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eleev","download_url":"https://codeload.github.com/eleev/snake-swiftui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219865149,"owners_count":16555931,"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","ios","metal","swiftui"],"created_at":"2024-09-27T08:04:09.844Z","updated_at":"2025-10-25T19:30:57.427Z","avatar_url":"https://github.com/eleev.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snake SwiftUI [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)\n\n[![Platform](https://img.shields.io/badge/platform-iOS_17-yellow.svg)]()\n[![Platform](https://img.shields.io/badge/platform-iPadOS_17-darkyellow.svg)]()\n[![Language](https://img.shields.io/badge/language-Swift_5.10-orange.svg)]()\n[![Contributors](https://img.shields.io/github/contributors/eleev/snake-swiftui)]()\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)]()\n\n\u003c!-- ![](cover.png) --\u003e\n\n### If you like the project, please give it a star ⭐ It will show the creator your appreciation and help others to discover the repo.\n\n# ✍️ About\n🐍 Snake on vanilla `SwiftUI`. A quick attempt to implement a working game. The game usese post-processing via a color adjustment filter (`Metal`).\n\n# 📺 Demo\nPlease note that the `.gif` files have low frame rate due to compression and accessibility of demo.\n\n![](/demo.gif)\n\n# 📋 Features\n- Vanilla SwiftUI / No Canvas\n- Metal `vault boy` / `fallout shader` \n    - neon edge rendering \n    - glowing via smoothstep \n    - color mixing \n    - luminance distance\n- Self-collision\n- Wall collision\n- Drag gesture based controls\n- Adjustable game board\n\nEstimated implementation time: `1h 10m`\n\n# 👨‍💻 Author \n[Astemir Eleev](https://github.com/eleev)\n\n# 🔖 Licence \nThe project is available under [MIT Licence](https://github.com/eleev/swiftui-new-metal-shaders/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feleev%2Fsnake-swiftui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feleev%2Fsnake-swiftui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feleev%2Fsnake-swiftui/lists"}