{"id":20852641,"url":"https://github.com/eleev/hungry-wormy","last_synced_at":"2026-03-08T04:31:37.252Z","repository":{"id":54992490,"uuid":"154509060","full_name":"eleev/hungry-wormy","owner":"eleev","description":"🐛 iOS \u0026 macOS game - classic snake game [Swift + SpriteKit].","archived":false,"fork":false,"pushed_at":"2021-01-18T17:06:07.000Z","size":27167,"stargazers_count":23,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-12T17:11:09.774Z","etag":null,"topics":["apple","cross-platform","game","gamedevelopment","ios","macos","retro-game","snake-game","spritekit","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","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":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-24T13:47:45.000Z","updated_at":"2025-03-19T12:15:25.000Z","dependencies_parsed_at":"2022-08-14T08:30:40.941Z","dependency_job_id":null,"html_url":"https://github.com/eleev/hungry-wormy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eleev/hungry-wormy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eleev%2Fhungry-wormy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eleev%2Fhungry-wormy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eleev%2Fhungry-wormy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eleev%2Fhungry-wormy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eleev","download_url":"https://codeload.github.com/eleev/hungry-wormy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eleev%2Fhungry-wormy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30245215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T00:58:18.660Z","status":"online","status_checked_at":"2026-03-08T02:00:06.215Z","response_time":56,"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":["apple","cross-platform","game","gamedevelopment","ios","macos","retro-game","snake-game","spritekit","swift"],"created_at":"2024-11-18T03:18:20.444Z","updated_at":"2026-03-08T04:31:37.231Z","avatar_url":"https://github.com/eleev.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hungry-wormy [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)\n\n[![Platforms](https://img.shields.io/badge/platforms-macOS%20%26%20iOS-yellow.svg)]()\n[![Language](https://img.shields.io/badge/language-Swift_5.3-orange.svg)]()\n[![Last Commit](https://img.shields.io/github/last-commit/jvirus/hungry-wormy)]()\n[![NLOC](https://img.shields.io/tokei/lines/github/jvirus/hungry-wormy)]()\n[![Contributors](https://img.shields.io/github/contributors/jvirus/hungry-wormy)]()\n[![Repo Size](https://img.shields.io/github/repo-size/jvirus/hungry-wormy)]()\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)]()\n\n![](logo-hungry_wormy.png)\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🐛 `Hungry Wormy` is a retro game reincarnation implemented on top of SpriteKit framework for `iOS` \u0026 `macOS`.\n\n# 📺 Demo\nPlease wait while the `.gif` files are loading...\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"Assets/Demo/Demo00.gif\" width=\"870\" /\u003e\n\u003c/p\u003e\n\n\u003cp float=\"left\"\u003e\n  \u003cimg src=\"Assets/Demo/Demo01.gif\" width=\"288\" /\u003e \n  \u003cimg src=\"Assets/Demo/Demo02.gif\" width=\"288\" /\u003e\n  \u003cimg src=\"Assets/Demo/Demo03.gif\" width=\"288\" /\u003e\n\u003c/p\u003e\n\n# 🍱 Features\n- Cross-platform: `macOS` \u0026 `iOS`. `tvOS` can be easily added as an update.\n- `Extendable`, `data-driven` architecture: you can easily add a new level without any programming (well, almost 😄). \n- **Six** levels: from very trivial to insane difficulty level.\n- Fully native implementation: `Swift` \u0026 `SpriteKit` only. \n- `One external` dependency.\n\n# 📝 Controls\n\n## iOS\nOn `iOS` all the controls are handled by `swipe` gestures. There are **4** gestures for swipe `up`, `left`, `down` and `right`. You will get the `haptic` feedback on the supported devices for when the `direction` of the `wormy` is changed. If you double swipe to a direction, the second swipe will be ignored.\n\n## macOS\nOn `macOS` all the controls are handled by `arrow` keys. There are **4** keys for turning to `up ⬆️`, `left ⬅️`, `down ⬇️` and `right ➡️` directions. If you double tap to a direction, the second one will be ignored. In order to `pause/resume` the game you need to tap on `escape` key. \n\n# 🔗 Dependencies\nThe project currently has one dependency, which is [device-kit](https://github.com/jVirus/device-kit) framework.\n\n# 🏗 How to create a new level\nThere is a possibility to create new levels, almost without any programming. Let's get started:\n\n#### 1. Create a new `.sks` file:\n\n\u003cp float=\"left\"\u003e\n  \u003cimg src=\"Assets/Tutorial/01.png\" width=\"400\" /\u003e\n  \u003cimg src=\"Assets/Tutorial/02.png\" width=\"400\" /\u003e\n\u003c/p\u003e\n\n#### 2. Give it a name:\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"Assets/Tutorial/03.png\" width=\"500\" /\u003e\n\u003c/p\u003e\n\n#### 3. Set the scene size to the following dimensions:\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"Assets/Tutorial/04.png\" width=\"500\" /\u003e\n\u003c/p\u003e\n\n#### 4. Add **3** tile maps to the scene and set their properties as follows:\n\n\u003cp float=\"left\"\u003e\n  \u003cimg src=\"Assets/Tutorial/05.png\" width=\"288\" /\u003e\n  \u003cimg src=\"Assets/Tutorial/06.png\" width=\"288\" /\u003e\n  \u003cimg src=\"Assets/Tutorial/07.png\" width=\"288\" /\u003e\n\u003c/p\u003e\n\n#### 5. Add a `Cover` node, copy-paste the `Pause` reference node and align everything as displayed in the following hierarchy:\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"Assets/Tutorial/08.png\" width=\"500\" /\u003e\n\u003c/p\u003e\n\n#### 7.Start editing `Background` \u0026 `Walls` tile maps by drawing tiles as you'd like:\n\n\u003cp float=\"left\"\u003e\n  \u003cimg src=\"Assets/Tutorial/09.png\" width=\"410\" /\u003e\n  \u003cimg src=\"Assets/Tutorial/10.png\" width=\"410\" /\u003e\n\u003c/p\u003e\n\n\u003cp float=\"left\"\u003e\n  \u003cimg src=\"Assets/Tutorial/11.png\" width=\"410\" /\u003e\n  \u003cimg src=\"Assets/Tutorial/12.png\" width=\"410\" /\u003e\n\u003c/p\u003e\n\n#### 8. Place the `blue` diamond tiles as `food` for `wormy` and `red` squares for spawn points:\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"Assets/Tutorial/13.png\" width=\"500\" /\u003e\n\u003c/p\u003e\n\n#### 9. Add new button nodes to access the level:\nIn `Assets/Scenes/macOS/MainMenuScene-macOS.sks` \u0026 `Assets/Scenes/iOS/MainMenuScene-iOS.sks` files with custom `User Data` key/value pair that conforms to the following scheme: `levelName`:`YourLevelName.sks`. Remember that you need to set the corresponding `target membership` options in `File Inspector` menu for each of the `.sks` files.\n\n#### 10. Done! \nYou have written zero lines of code and added a new level to the game.\n \n# 🖼 Assets\nThe game uses assets taken from [kenney.nl](https://kenney.nl) that are published under [CC0 1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/) licence.\n \n# 👨‍💻 Author \n[Astemir Eleev](https://github.com/jVirus)\n\n# 🔖 Licence\nThe project is available under [MIT licence](https://github.com/jVirus/hungry-wormy/blob/master/LICENSE)\n\n[device-kit](https://github.com/jVirus/device-kit) framework is available under [MIT licence](https://github.com/jVirus/device-kit/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feleev%2Fhungry-wormy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feleev%2Fhungry-wormy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feleev%2Fhungry-wormy/lists"}