{"id":27155138,"url":"https://github.com/mahmudnibir/2048","last_synced_at":"2025-04-08T18:57:18.290Z","repository":{"id":282458551,"uuid":"948623058","full_name":"mahmudnibir/2048","owner":"mahmudnibir","description":"🧩 2048 Web Game – A modern and responsive web-based version of the classic 2048 puzzle. Built with HTML, CSS, and JavaScript, featuring smooth animations, intuitive controls, and a clean UI. Merge tiles, reach 2048, and set new high scores!","archived":false,"fork":false,"pushed_at":"2025-04-02T08:36:42.000Z","size":559,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T09:29:20.358Z","etag":null,"topics":["2048","css","html5","javascript","web-game"],"latest_commit_sha":null,"homepage":"https://mahmudnibir.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/mahmudnibir.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":"2025-03-14T16:57:09.000Z","updated_at":"2025-04-02T08:36:46.000Z","dependencies_parsed_at":"2025-03-14T19:32:25.441Z","dependency_job_id":null,"html_url":"https://github.com/mahmudnibir/2048","commit_stats":null,"previous_names":["mahmudnibir/2048"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmudnibir%2F2048","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmudnibir%2F2048/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmudnibir%2F2048/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmudnibir%2F2048/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mahmudnibir","download_url":"https://codeload.github.com/mahmudnibir/2048/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247909153,"owners_count":21016478,"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","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","css","html5","javascript","web-game"],"created_at":"2025-04-08T18:57:15.926Z","updated_at":"2025-04-08T18:57:18.278Z","avatar_url":"https://github.com/mahmudnibir.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n![GitHub status](https://img.shields.io/badge/status-completed-brightgreen.svg) \n![GitHub Repo stars](https://img.shields.io/github/stars/mahmudnibir/2048?style=social) \n![GitHub contributors](https://img.shields.io/github/contributors/mahmudnibir/2048)\n![GitHub issues](https://img.shields.io/github/issues/mahmudnibir/2048)\n![GitHub forks](https://img.shields.io/github/forks/mahmudnibir/2048?style=social)\n![GitHub last commit](https://img.shields.io/github/last-commit/mahmudnibir/2048)\n![GitHub license](https://img.shields.io/github/license/mahmudnibir/2048)\n![GitHub Pull Requests](https://img.shields.io/github/issues-pr/mahmudnibir/2048)\n![GitHub Code Size](https://img.shields.io/github/languages/code-size/mahmudnibir/2048)\n![Platform](https://img.shields.io/badge/platform-linux%20%7C%20macOS%20%7C%20windows-blue) \n\n---\n# 2048 Game\n\n\n\u003e [!NOTE]\n This project is intended for learning and experimentation.\n--- \n\nA modern implementation of the classic 2048 puzzle game, built with HTML, CSS, and JavaScript.\n\n## How to Play\n\n1. Use your **arrow keys** or **WASD** keys to move all tiles\n2. When two tiles with the same number touch, they **merge into one** with their sum\n3. After each move, a new tile with a value of 2 or 4 appears\n4. Create a tile with the number **2048** to win!\n\n## Features\n\n- Smooth animations and transitions\n- Mobile-friendly with touch/swipe support\n- Score tracking with best score saved locally\n- Undo last move functionality\n- Responsive design that works on all devices\n- Game state preservation\n- Clean, modern UI\n\n\u003cimg src=\"img/Screenshot 2025-03-15 021116.png\" alt=\"2048\" width=\"500\"\u003e\n\n## Controls\n\n- **Arrow Keys** or **WASD**: Move tiles\n- **New Game** button: Start a new game\n- **Undo** button: Revert last move\n- On mobile: **Swipe** in any direction to move tiles\n\n## Installation\n\n1️⃣ Clone the repository and navigate into it:  \n\n```bash\ngit clone https://github.com/mahmudnibir/2048.git\ncd 2048\n```\n2️⃣ Open `index.html` in your web browser\n\n3️⃣ Start playing!\n\n---\n\n###  Technologies Used\n\n- **[HTML5](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5)** – The backbone of the project, ensuring a semantic and accessible structure.\n- **[CSS3](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS3)** – Styled with modern techniques like Grid Layout and smooth Animations that make it pop.\n- **[JavaScript (ES6+)](https://developer.mozilla.org/en-US/docs/Web/JavaScript)** – Using modern Vanilla JS to keep things interactive and lit.\n- **[Local Storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)** – Keeping your scores on lock for that persistent gaming vibe.\n\n---\n\n\u003e [!TIP]\nIf you find this project helpful, **please consider giving it a star ⭐ on GitHub!** It helps others discover the project.  \n\n## Contribution Guidelines  \n\n **Want to improve the script?** Contributions are welcome!  \n\n### **📌 How to Contribute**  \n| Step | Action |\n|------|--------|\n| 🏗 **Fork** | Clone the repo \u0026 create a new branch |\n| 🔧 **Develop** | Make your changes, write clear commit messages |\n| 📌 **Push** | Push to your fork \u0026 create a PR |\n| 🚀 **Review** | Wait for approval \u0026 merge |\n\n\n\n## License  \n\n📝 This project is licensed under the **MIT License**. See the [LICENSE](LICENSE) file for details.  \n\n\n## Contact  \n*Developed by [Nibir Mahmud](https://github.com/mahmudnibir)*\n\n\n**Email**: [nibirbbkr@gmail.com](mailto:nibirbbkr@gmail.com)  \n**Github**: [@mahmudnibir](https://github.com/mahmudnibir)    \n\n\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahmudnibir%2F2048","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmahmudnibir%2F2048","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahmudnibir%2F2048/lists"}