This is a simple implementation of the classic 2048 game built with HTML, CSS, and JavaScript.
The goal of the game is to combine tiles with the same number to reach 2048.
You can check the demo here: Demo Link
- Classic 2048 gameplay
- Works on desktop and mobile devices
- Responsive layout
- Score and best score tracking
- Use arrow keys on your keyboard (↑, ↓, ←, →)
- On mobile devices, swipe in the direction you want to move
- Combine tiles with the same number to create bigger numbers
- The goal is to reach 2048
- Clone the repository:
git clone https://github.com/yourusername/2048-js.git cd 2048-js - Open index.html in your browser, or run:
npm install npm start
👨💻 Author • GitHub: @pryge • Email: oleg.t.primary@gmail.com