Hey there! Welcome to 2048_game — an interactive 2048 puzzle game where your goal is to combine tiles and reach 2048. This project is built with modular JavaScript, SCSS (BEM), and dynamic DOM updates.
Check it out here: https://dsemeniukv.github.io/2048_game/
The classic 2048 game interface with a clean and simple layout.
- JavaScript (ES6 Modules) — modular and object-oriented logic
- SCSS (BEM) — clean, reusable, and modular styles
- CSS Grid — layout for the game board
- Flexbox — for header and controls alignment
- Keyboard Support — arrow keys for tile movement
- Dynamic DOM Updates — smooth game interaction
- Start / Restart Game — start a new game or reset the current one
- Score Tracking — keep track of your score
- Dynamic Game Board — interactive tiles updating in real time
- Keyboard Control — move tiles using arrow keys
* Node.js >= 20.18.2
* npm >= 11.4.2
Follow these steps to get the project running locally:
Clone the repository:
git clone https://github.com/DSemeniukV/2048_game.git
Install dependencies:
npm install
Run the project locally:
npm start