{"id":17925184,"url":"https://github.com/hsuanxyz/ionic2-2048","last_synced_at":"2025-07-19T04:03:48.730Z","repository":{"id":79112290,"uuid":"78284114","full_name":"hsuanxyz/ionic2-2048","owner":"hsuanxyz","description":"a 2048 game of ionic2","archived":false,"fork":false,"pushed_at":"2017-01-19T02:48:40.000Z","size":1070,"stargazers_count":7,"open_issues_count":1,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-26T18:45:05.715Z","etag":null,"topics":["2048","ionic"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/hsuanxyz.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-01-07T14:39:45.000Z","updated_at":"2024-06-23T07:14:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"04f17d56-c19b-4e56-b32d-2698971e6d8b","html_url":"https://github.com/hsuanxyz/ionic2-2048","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hsuanxyz/ionic2-2048","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsuanxyz%2Fionic2-2048","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsuanxyz%2Fionic2-2048/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsuanxyz%2Fionic2-2048/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsuanxyz%2Fionic2-2048/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hsuanxyz","download_url":"https://codeload.github.com/hsuanxyz/ionic2-2048/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsuanxyz%2Fionic2-2048/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265887144,"owners_count":23844347,"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":["2048","ionic"],"created_at":"2024-10-28T20:53:01.026Z","updated_at":"2025-07-19T04:03:48.721Z","avatar_url":"https://github.com/hsuanxyz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ionic2-2048\na 2048 game of ionic2\n\n这是一个使用ionic2框架实现的2048小游戏。\n\n#### 演示\n![2048](https://github.com/HsuanXyz/hsuan.github.io/blob/master/assets/ionic2-2048/2048.gif?raw=true)\n\n#### 已知问题\n在浏览器环境下调试时，滑动事件并不能很好的触发，可能需要在页面上通过按钮控制\n\n## 获取\n\n***需要 `ionic` 和 `cordova` ***\n\n`$ git clone https://github.com/HsuanXyz/ionic2-2048.git`\n\n`$ npm install`\n\n`$ ionic state reset --plugins`\n\n`$ cordova plugin add cordova-sqlite-storage --save`\n## 运行在浏览器\n`$ ionic serve`\n\n## 打包到移动平台\n`$ ionic build android `\n\n`$ ionic build ios`\n\n## 我的环境\n```\nCordova CLI: 6.4.0\nIonic Framework Version: 2.0.0-rc.4\nIonic CLI Version: 2.1.18\nIonic App Lib Version: 2.1.9\nIonic App Scripts Version: 0.0.47\nOS: macOS Sierra\nNode Version: v6.9.2\nXcode version: Xcode 8.2.1 Build version 8C1002\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhsuanxyz%2Fionic2-2048","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhsuanxyz%2Fionic2-2048","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhsuanxyz%2Fionic2-2048/lists"}