{"id":21625820,"url":"https://github.com/debbl/vue-2048","last_synced_at":"2026-04-13T13:01:58.154Z","repository":{"id":114467786,"uuid":"542514438","full_name":"Debbl/vue-2048","owner":"Debbl","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-10T22:04:44.000Z","size":426,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-19T13:23:54.036Z","etag":null,"topics":["typescript","vue","vue3"],"latest_commit_sha":null,"homepage":"https://game.aiwan.run/2048/","language":"Vue","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/Debbl.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,"zenodo":null}},"created_at":"2022-09-28T09:39:29.000Z","updated_at":"2024-06-02T09:39:44.000Z","dependencies_parsed_at":"2024-06-02T10:44:07.458Z","dependency_job_id":"f8a3ea70-af0b-429f-8b2f-c0c00956217a","html_url":"https://github.com/Debbl/vue-2048","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Debbl/vue-2048","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Debbl%2Fvue-2048","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Debbl%2Fvue-2048/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Debbl%2Fvue-2048/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Debbl%2Fvue-2048/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Debbl","download_url":"https://codeload.github.com/Debbl/vue-2048/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Debbl%2Fvue-2048/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31753551,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["typescript","vue","vue3"],"created_at":"2024-11-25T01:10:46.893Z","updated_at":"2026-04-13T13:01:58.132Z","avatar_url":"https://github.com/Debbl.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Vue 2048](https://game.aiwan.run/2048/)\n\n\u003e 参考 https://github.com/gabrielecirulli/2048\n\n# 技术栈\n\n- Vue3\n- TypeScript\n- Vite\n- UnoCSS\n- VueUse\n\n# 思路\n\n## 布局\n\n- container 是 relative,动态生成 absolute button 元素，添加 left 和 top\n\n## 移动\n\n\u003e 以向上为例，x 为 0 的一列\n\n- y = 1, x = 1\n- y = 2, x = 2, 1\n- y = 3, x = 3, 2, 1\n  \u003e 遍历六次，每次取当前的和其上一个比较，是否合并或移动\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebbl%2Fvue-2048","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdebbl%2Fvue-2048","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebbl%2Fvue-2048/lists"}