{"id":13489088,"url":"https://github.com/austinzheng/swift-2048","last_synced_at":"2025-05-14T22:08:07.060Z","repository":{"id":17664438,"uuid":"20469086","full_name":"austinzheng/swift-2048","owner":"austinzheng","description":"2048 for Swift","archived":false,"fork":false,"pushed_at":"2023-06-09T07:13:02.000Z","size":87,"stargazers_count":3143,"open_issues_count":22,"forks_count":995,"subscribers_count":137,"default_branch":"master","last_synced_at":"2025-04-13T18:44:37.453Z","etag":null,"topics":[],"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/austinzheng.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2014-06-04T03:37:39.000Z","updated_at":"2025-04-05T08:38:53.000Z","dependencies_parsed_at":"2024-01-17T16:06:57.411Z","dependency_job_id":"771a54ac-3759-42e1-84c8-decc687c2662","html_url":"https://github.com/austinzheng/swift-2048","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinzheng%2Fswift-2048","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinzheng%2Fswift-2048/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinzheng%2Fswift-2048/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinzheng%2Fswift-2048/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/austinzheng","download_url":"https://codeload.github.com/austinzheng/swift-2048/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254235696,"owners_count":22036963,"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":[],"created_at":"2024-07-31T19:00:16.840Z","updated_at":"2025-05-14T22:08:02.046Z","avatar_url":"https://github.com/austinzheng.png","language":"Swift","funding_links":[],"categories":["Swift","Game","Demo Apps / 示例程序","Swift Courses","Demo Apps","Clone"],"sub_categories":["Cryptocurrency","iOS"],"readme":"swift-2048\n==========\n\nA working port of [iOS-2048](https://github.com/austinzheng/iOS-2048) to Apple's new Swift language.\n\nLike the original Objective-C version, swift-2048 does not rely upon SpriteKit. See the description for iOS-2048 for more information.\n\nI'm not actively working on this, except to fix bugs and maintain compatibility with latest versions. Pull requests are welcome, though. Note that Swift was very different back when I first wrote this code, caveat emptor.\n\n\nIf you want to check out a more advanced Swift project, please take a look at **[Lambdatron](https://github.com/austinzheng/Lambdatron)**, my Clojure interpreter.\n\nInstructions\n------------\n\nYou will need Xcode 7 to run the project. Run it in the simulator or on an actual device.\n\nTap the button to play the game. Swipe to move the tiles.\n\nThoughts on Swift\n-----------------\n\nSwift is a well-designed language that will, hopefully, drag mainstream programming halfway to ML (kicking and screaming the entire way, of course).\n\nIf you really want to see my out-of-date thoughts on Swift, check out the git history for `README.md`.\n\nLicense\n-------\n(c) 2014-2015 Austin Zheng. Released under the terms of the MIT license.\n\n2048 by Gabriele Cirulli (http://gabrielecirulli.com/). The original game can be found at http://gabrielecirulli.github.io/2048/, as can all relevant attributions. 2048 is inspired by an iOS game called \"Threes\", by Asher Vollmer.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faustinzheng%2Fswift-2048","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faustinzheng%2Fswift-2048","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faustinzheng%2Fswift-2048/lists"}