A modern browser-based implementation of the classic 2048 puzzle game — slide numbered tiles on a 4×4 grid to combine them and reach the 2048 tile. Built with clean, modular JavaScript and simple, responsive UI.
- Smooth gameplay using arrow keys
- Random tile generation and score tracking
- Automatic win/lose detection
- Restart and Start functionality
- Clear, responsive layout styled with CSS
- Modular and easy-to-read code structure
Clone the repository:
git clone https://github.com/Mitlosh/2048-game.git
cd project-name
Install dependencies:
npm install
# or
yarn install
Run the project locally:
npm start
# or
yarn start