A sliding puzzle game where the player moves numbered tiles on a grid to combine them and create a tile with the number 2048. The game is lost if no more moves are possible.
2048 is an exciting math game, and I chose it because it's one of my favorite games. 2048 is a single-player sliding tile puzzle video game written by Italian web developer Gabriele Cirulli and published on GitHub.
- Objective: Reach the 2048 tile by merging tiles of the same number.
- Controls: Use the arrow keys (up, down, left, right) to move tiles.
- Merging Tiles: Tiles with the same number merge into one when they touch. The resulting tile’s value is the sum of the merged tiles.
- Game End: You win by reaching the 2048 tile. The game ends if there are no possible moves left.
- Click "Let's Play!" to start the game.
- Use the arrow keys to move the tiles and merge them.
- Your current score is displayed at the bottom of the game board.
- Click "Restart" to start a new game.
- HTML
- CSS
- JavaScript
Planned future enhancements:
- Improved UX/UI: Enhance the game interface for a better user experience.
- Improved Logic:
- Allow merging of multiple tiles in a row.
- Prevent tiles from merging more than once in the same move.