{"id":30144177,"url":"https://github.com/cheongszesuen/b2048","last_synced_at":"2026-01-18T00:11:47.625Z","repository":{"id":309010597,"uuid":"1034777334","full_name":"CheongSzesuen/B2048","owner":"CheongSzesuen","description":"更好的2048，环10移植版本","archived":false,"fork":false,"pushed_at":"2026-01-17T03:55:03.000Z","size":625,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-17T17:17:41.279Z","etag":null,"topics":["miband","miband10","quickapp","vela","xiaomi"],"latest_commit_sha":null,"homepage":"https://www.bandbbs.cn/resources/3833/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CheongSzesuen.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":"2025-08-09T01:07:10.000Z","updated_at":"2026-01-16T19:37:37.000Z","dependencies_parsed_at":"2025-08-09T09:21:00.602Z","dependency_job_id":null,"html_url":"https://github.com/CheongSzesuen/B2048","commit_stats":null,"previous_names":["cheongszesuen/b2048"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/CheongSzesuen/B2048","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheongSzesuen%2FB2048","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheongSzesuen%2FB2048/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheongSzesuen%2FB2048/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheongSzesuen%2FB2048/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CheongSzesuen","download_url":"https://codeload.github.com/CheongSzesuen/B2048/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheongSzesuen%2FB2048/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28523337,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T23:53:28.710Z","status":"ssl_error","status_checked_at":"2026-01-17T23:52:20.131Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["miband","miband10","quickapp","vela","xiaomi"],"created_at":"2025-08-11T07:40:21.735Z","updated_at":"2026-01-18T00:11:47.605Z","avatar_url":"https://github.com/CheongSzesuen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# B2048-更好的2048\n![headImg](https://raw.githubusercontent.com/CheongSzesuen/B2048_AstroBox_Release/refs/heads/main/head/head.png)\n更好的2048，环10移植版本，1.1版本已经做到和其他手环版本效果一样了。\n\n[环10适配米坛链接](https://www.bandbbs.cn/resources/3833/)，自定义工具分享链接。\n```\n【表盘分享：更好的2048 @WaiJade】https://api.bandbbs.cn/wftools/bandbbs.html?code=A\u0026state=1836739 点击链接，再选择浏览器咑閞；或椱ァ製这段描述₳MTgzNjczOQ==₳后到👉◇表盘自定义工具👈\n```\n\n# 珠玉在前\n感谢[lst开源的2048代码](https://github.com/leset0ng/B2048)，才有适配10的希望，而不是从头开始重做。\n\n## 内容\n1. 游戏核心\n  - 经典2048游戏逻辑实现\n  - 分数计算与最高分记录\n  - 撤销功能(一步回退)\n2. UI特性\n  - 亮色/暗色主题切换\n  - 支持实验性动画\n3. 数据持久化\n  - 游戏状态自动保存\n  - 最高分记录保存\n\n## 二次开发建议\n\n### 设计部分\n\nlst没有开源设计，只有背景图。所以在适配的时候我用即时设计重绘了背景，按钮部分不打算重绘，因为按钮可以直接复用现有图片，如果你一定需要重绘，可以参考无源流沙的手环公开设计。\n\n我将我使用即时设计重绘和设计的页面公开了。[设计公开链接](https://js.design/f/6896a1be8675811d8c8c6fb1?p=r9Y24jEK59\u0026mode=design)包含有：\n- 圆形图标和圆角矩形图标\n- 头图\n- 游戏背景\n- 关于页面\n\n你可以自由修改除了**头图**以外的部分，对于头图我有限制，**禁止将修改后类似的头图上传AstroBox**，astrobox目前头图同质化严重，原因是有很多人使用了我的头图模板，这种一味地套图行为需要遏制。只有好的设计才能打动人心。如果你不会设计，欢迎联系下方推荐的米坛其他善于设计的开发者寻求帮助（付费）。\n- [zaona](https://www.bandbbs.cn/members/157218/)\n- [hrsthrt74](https://www.bandbbs.cn/members/296762/)\n\n### 代码部分\n\n#### 颜色\n\n你可以快速的修改颜色列表来修改不同等级方块的颜色。\n\n\n#### folme的实验性动画\n\n\u003ca href=\"docs/folme.md\"\u003efolme接口文档和类型文件\u003c/a\u003e，内部有详细说明和B2048是如何使用folme的。\n\n## ToDo\n\n- [ ] 重置二次确认，可以开关。\n- [ ] 自定义字体大小\n- [ ] 使用两个模式计分，自己选择\n- [x] 改用file保存\n\n## 许可证\nGPL-3.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheongszesuen%2Fb2048","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheongszesuen%2Fb2048","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheongszesuen%2Fb2048/lists"}