Skip to content

sborichevskyi/2048-game

Repository files navigation

2048 Game

A classic 2048 puzzle game built with vanilla JavaScript, HTML, and CSS. Slide tiles in four directions, merge numbers, and try to reach the 2048 tile!

Features

  • Merge and spawn effects for improved gameplay
  • Keyboard control support (Arrow keys / WASD)
  • Score tracking
  • Responsive layout
  • Clean and modular codebase

Technologies used:

  • HTML5
  • CSS3
  • JavaScript (ES6+)
  • DOM manipulation
  • Game state management

Local Setup

Follow these steps to run the project locally:

  1. Clone the repository git clone https://github.com/sborichevskyi/2048-game.git cd 2048-game

  2. Install dependencies npm install or yarn install

  3. Start the project locally npm start or yarn start

About

2048 Game — JavaScript Project A browser-based implementation of the classic 2048 puzzle game built using HTML, CSS, and vanilla JavaScript. Features smooth tile movement, merge logic, score tracking, and responsive controls. The project demonstrates DOM manipulation, event handling, game state management, and clean, modular code structure.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors