{"id":25517640,"url":"https://github.com/bt-diana/2048","last_synced_at":"2026-02-07T03:01:50.304Z","repository":{"id":223154757,"uuid":"750505785","full_name":"bt-diana/2048","owner":"bt-diana","description":"2048 web-game","archived":false,"fork":false,"pushed_at":"2025-01-17T15:27:55.000Z","size":100,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-21T04:11:24.611Z","etag":null,"topics":["css","game","html","javascript","mvc","webpack"],"latest_commit_sha":null,"homepage":"https://bt-diana.github.io/2048/","language":"JavaScript","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/bt-diana.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-01-30T19:16:01.000Z","updated_at":"2025-01-17T15:27:57.000Z","dependencies_parsed_at":"2024-06-22T22:33:32.164Z","dependency_job_id":"1b59a5d3-277a-4a4f-b53f-6c4cc8958466","html_url":"https://github.com/bt-diana/2048","commit_stats":null,"previous_names":["djhsgfjk/2048","bt-diana/2048"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bt-diana/2048","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bt-diana%2F2048","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bt-diana%2F2048/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bt-diana%2F2048/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bt-diana%2F2048/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bt-diana","download_url":"https://codeload.github.com/bt-diana/2048/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bt-diana%2F2048/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29185112,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T00:44:15.062Z","status":"online","status_checked_at":"2026-02-07T02:00:07.217Z","response_time":63,"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":["css","game","html","javascript","mvc","webpack"],"created_at":"2025-02-19T15:36:14.927Z","updated_at":"2026-02-07T03:01:50.298Z","avatar_url":"https://github.com/bt-diana.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 2048 Game\n\nThis project is an implementation of the **2048 game**, built with a focus on smooth user experience.\n\nThe primary purpose of this project was to gain hands-on experience in working with **CSS animations**.\n\n[Demo](https://bt-diana.github.io/2048/)\n\n## Gameplay\n\n### Objective\nCombine tiles with the same number to create higher-value tiles. There are no limits — reach as high as you can!🚀\n\n### Rules\n- **Move Tiles:** Use the arrow keys to slide all tiles in one direction: Up, Down, Left, or Right.\n- **Merge Tiles:** When two tiles with the same number collide during a move, they merge into one tile with the sum of their values.\n- **Score Points:** Each merge adds the value of the new tile to your score.\n- **Game Over:** The game ends if there are no more valid moves (no empty spaces and no adjacent tiles with the same number).\n\n![2048-game](https://github.com/user-attachments/assets/d45fd3c1-c5e5-43ea-bf1b-fe2adef7f86a)\n\n## Getting Started\n\nTo try out the game locally:\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/bt-diana/2048.git\n   ```\n2. Navigate to the project directory:\n   ```bash\n   cd 2048\n   ```\n3. Install all dependencies:\n   ```bash\n   npm install\n   ```\n4. To builds the project and start a local web server run the following commands:\n   ```bash\n   npm run build\n   ```\n5. Go to the `dist` directory and open the `index.html` file in your browser.\n\n## Technologies Used\n\n- HTML\n- CSS\n- JavaScript\n- Webpack\n\n## Project Architecture\n\nThe project follows the **Model-View-Controller (MVC)** pattern.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbt-diana%2F2048","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbt-diana%2F2048","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbt-diana%2F2048/lists"}