{"id":20234665,"url":"https://github.com/yanceyy/2048","last_synced_at":"2026-04-21T03:31:25.695Z","repository":{"id":183425731,"uuid":"635101246","full_name":"yanceyy/2048","owner":"yanceyy","description":"2048 game based on webcomponents","archived":false,"fork":false,"pushed_at":"2023-08-01T06:03:30.000Z","size":1096,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-10T20:06:31.001Z","etag":null,"topics":["2048","game","javascript","javascript-game","web-components"],"latest_commit_sha":null,"homepage":"https://2048web.vercel.app","language":"JavaScript","has_issues":false,"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/yanceyy.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-05-02T01:05:34.000Z","updated_at":"2024-01-05T23:44:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"bf228c39-5d10-402b-b620-8b65fb38b750","html_url":"https://github.com/yanceyy/2048","commit_stats":null,"previous_names":["yanceyy/2048-webcomponents"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yanceyy/2048","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanceyy%2F2048","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanceyy%2F2048/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanceyy%2F2048/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanceyy%2F2048/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yanceyy","download_url":"https://codeload.github.com/yanceyy/2048/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanceyy%2F2048/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32075218,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T02:38:07.213Z","status":"ssl_error","status_checked_at":"2026-04-21T02:38:06.559Z","response_time":128,"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":["2048","game","javascript","javascript-game","web-components"],"created_at":"2024-11-14T08:12:10.021Z","updated_at":"2026-04-21T03:31:25.676Z","avatar_url":"https://github.com/yanceyy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\n\u003cp align=\"center\"\u003e\n\u003cimg  alt=\"game screenshot\" src=\"./assert/images/2048.webp\" width=\"360\"\u003e\n\u003c/p\u003e\n\nWelcome to the 2048 WebComponents Game repository. This is a modern interpretation of the popular 2048 game, leveraging the power of WebComponents for modular, reusable, and encapsulated code. The game also introduces theme change functionality, allowing you to customize the look and feel of your gaming experience.\n\n# Paly it online\n\nPlay on [Vercel](https://2048web.vercel.app)\n\n# Run it locally\n\nBefore you start, ensure that you have `Node.js` and `pnpm` installed.\n\nInstall the required dependencies:\n\n```bash\npnpm install\npnpm dev\n```\n\nTo start the game, navigate to [localhost:5173](http://localhost:5173/) (or the port indicated in your terminal) in your web browser. Use your arrow keys to move the tiles. Tiles with the same number merge into one when they touch, and the goal is to earn as much score as you can.\n\nYou can change the theme of the game using the theme switch provided in the top panel. Choose from a range of pre-set themes to enhance your gaming experience.\n\n# License\n\nThis 2048 Game is open-sourced software licensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanceyy%2F2048","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyanceyy%2F2048","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanceyy%2F2048/lists"}