A classic 2048 puzzle game built with pure JavaScript, HTML, and SCSS. The objective of the game is to slide numbered tiles on a grid to combine them and create a tile with the number 2048.
You can play the live version of the game here:
To get a local copy up and running, follow these simple steps.
-
Clone the repository:
git clone [https://github.com/Kirky359/2048-game.git](https://github.com/Kirky359/2048-game.git)
-
Open the project folder:
cd 2048-game -
Install NPM packages:
npm install
-
Start the project:
npm start
- HTML5: For the basic structure and layout of the game
- SCSS: For styling the game board, tiles, and controls
- JavaScript (ES6+): For game logic, tile movement, merging, and scoring
- Parcel: For bundling and building the project
- Git & GitHub Pages: For version control and deployment
- Score Tracking: The score updates in real-time as you combine tiles
- Start & Restart: Easily start a new game or restart anytime
- Responsive Controls: Play using your keyboard’s arrow keys
- Win/Lose Detection: The game automatically checks for victory or loss
- Responsive Design: Works smoothly on desktop and mobile devices
- Author: Kirky359
- Year: 2025