Welcome to the 2️⃣0️⃣4️⃣8️⃣ Game! 🎉
This project replicates the classic 2048 game where players combine tiles with the same number to reach the 2048 tile. The game is developed using HTML, CSS, and JavaScript and efficient algorithms to manage game state and interactions.
- Responsive Design: Works seamlessly on various screen sizes.
- Smooth Animations: Optional animations for tile movement and merging.
- Score Tracking: Keeps track of the player's score, updated with each move.
- Win and Game Over Conditions: Displays messages when the player wins or no more moves are possible.
- Restart Functionality: Easily restart the game at any point.
- HTML5: Structuring the game layout.
- CSS3: Styling the game, including responsive design and optional animations.
- JavaScript (ES6): Core game logic, event handling, and DOM manipulation.
- Use the arrow keys to move the tiles.
- Tiles with the same number merge into one when they touch.
- The goal is to reach the 2048 tile.
- The game ends when there are no more moves left.
Enjoy the game and test your skills by reaching the elusive 2048 tile! 😎