In this game, the goal is to merge cells with identical numbers until you reach the number 2048. The cells contain integer values that are powers of two, starting from 2 (e.g., 2, 4, 8, 16, etc.).
The game board is a 4 x 4 grid that holds up to 16 cells. If the grid fills up and no further moves (such as merging cells) are possible, the game ends.
You can try the live version of the game here:
- JavaScript: For game logic and interactivity.
- Sass (SCSS): For styling, with SCSS providing organized and maintainable styles.
- HTML5: For the basic structure of the game.
To run this project locally, you will need:
- Node.js (v14 or higher recommended)
- npm or yarn
To clone and run this project locally:
git clone https://github.com/marichkamt/game-2048.git
cd game-2048
Then install the dependencies:
npm install
Start the project:
npm start
Open your browser and go to http://localhost:3000 to view and play the game.
Developed by Mariia Hlushak🙋🏻♀️
Feel free to connect with me:
Email: [email protected]