Skip to content

pryge/2048-classic

Repository files navigation

2048 Game

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.


🚀 Demo

You can check the demo here: Demo Link


✨ Features

  • Classic 2048 gameplay
  • Works on desktop and mobile devices
  • Responsive layout
  • Score and best score tracking

🕹️ How to Play

  • 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

⚙️ Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/2048-js.git
    cd 2048-js
  2. Open index.html in your browser, or run:
    npm install
    npm start
    

👨‍💻 Author • GitHub: @pryge • Email: oleg.t.primary@gmail.com

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published