{"id":17351821,"url":"https://github.com/mutoe/canvas2048","last_synced_at":"2025-07-31T11:05:59.573Z","repository":{"id":99152591,"uuid":"79803640","full_name":"mutoe/canvas2048","owner":"mutoe","description":"学习并使用 html5 canvas 制作 2048 小游戏","archived":false,"fork":false,"pushed_at":"2017-03-12T14:31:40.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-04T20:00:24.564Z","etag":null,"topics":["2048","canvas","html5-canvas","html5-game"],"latest_commit_sha":null,"homepage":"https://mutoe.github.io/canvas2048/","language":"JavaScript","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/mutoe.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":"2017-01-23T12:47:56.000Z","updated_at":"2022-01-29T06:34:34.000Z","dependencies_parsed_at":"2023-04-08T22:46:51.585Z","dependency_job_id":null,"html_url":"https://github.com/mutoe/canvas2048","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mutoe/canvas2048","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutoe%2Fcanvas2048","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutoe%2Fcanvas2048/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutoe%2Fcanvas2048/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutoe%2Fcanvas2048/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mutoe","download_url":"https://codeload.github.com/mutoe/canvas2048/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutoe%2Fcanvas2048/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268026303,"owners_count":24183392,"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-31T02:00:08.723Z","response_time":66,"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":["2048","canvas","html5-canvas","html5-game"],"created_at":"2024-10-15T17:11:18.851Z","updated_at":"2025-07-31T11:05:59.509Z","avatar_url":"https://github.com/mutoe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# canvas 2048\n学习并使用 html5 canvas 制作 2048 小游戏\n\n## 需求文档\n\n操作区有4X4共16个空白小卡片, 开局时随机出现若干卡片上面有数字2或4, 玩家可使用方向键控制所有卡片移动.\n\n当按下\"↓\"方向键时, 所有卡片移动到底部并且相同数字的卡片合并成两个卡片数字之和, 随后在随机空白位置生成1张数字为\"2\"或\"4\"的卡片, 以此类推.\n\n当所有位置被填满并且无法继续操作时, 游戏结束, 统计当前所有卡片数字之和, 作为玩家游戏成绩.\n\n游戏结束后, 将玩家成绩与玩家输入的昵称提交到服务器, 并且返回当日/近30天/总榜前10名名单.\n\n## 制作过程\n制作已经放在 [bilibili av9028663](http://www.bilibili.com/video/av9028663/) , 欢迎观看与学习.\n\n## 试玩\n已经投放在我的个人网站 http://game.mutoe.com/2048\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmutoe%2Fcanvas2048","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmutoe%2Fcanvas2048","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmutoe%2Fcanvas2048/lists"}