Welcome to the 2048 Game project! This is a simple implementation of the popular 2048 puzzle game using HTML, CSS, and JavaScript.
The 2048 game is a classic puzzle game where the player combines matching tiles to reach the coveted 2048 tile. It's an addictive and challenging game that requires strategy and planning.
- HTML: Markup language for creating the structure of the game.
- CSS: Stylesheet language for designing the game interface.
- JavaScript: Programming language for implementing game logic and interactivity.
Visual Studio Code (VSCode) was used as the Integrated Development Environment (IDE) for this project.
To play the game, follow these steps:
-
Clone the repository to your local machine.
git clone https://github.com/your-username/2048-game.git
-
Open the
index.html
file in your web browser to start the game.
- Use arrow keys to move the tiles in the respective direction.
- When two tiles with the same number touch, they merge into one.
- The objective is to reach the 2048 tile.
- If there are no more valid moves and the board is full, the game is over.