Skip to content

NikD0R/2048_game

Repository files navigation

🧠 2048 Game

2048 Game is a browser-based version of the popular puzzle game 2048, in which you need to combine tiles with numbers to get a tile with a value of 2048. The game is adapted for desktop and mobile devices, with classic mechanics and a modern look.


▶ How to Play

  • Use the arrow keys on your keyboard or swipe on your mobile device.
  • To combine tiles, move them in any direction.
  • Each action adds a new tile with “2” or “4” on it.
  • The goal is to reach the 2048 tile!

🔗 Live Preview

👉 Play 2048 Game


🛠 Technologies Used

This game was created using:

  • HTML5
  • CSS3
  • JavaScript (without frameworks)
  • Responsive Web Design
  • Local Storage (to save the best result)

🚀 Getting Started

To run the project locally, follow these steps:

1️⃣ Clone the repository

git clone https://github.com/your-username/project-name.git
cd project-name

2️⃣ Install dependencies

npm install
# or
yarn install

3️⃣ Run the project locally

npm start
# or
yarn start

✨ Features

  • Classic mechanics 2048
  • Mobile device support
  • Best score saving
  • Animation and smooth transitions
  • Lightweight, clean UI

📄 License

This project is created for educational and portfolio purposes.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published