Skip to content

DSemeniukV/2048_game

Repository files navigation

2048_game — Classic Puzzle

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.


Demo

Check it out here: https://dsemeniukv.github.io/2048_game/


Design

The classic 2048 game interface with a clean and simple layout.


Technologies Used

  • 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

Features

  • 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

Prerequisites:

* Node.js >= 20.18.2
* npm >= 11.4.2

Installation / How to Run

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors