Skip to content

Latest commit

 

History

History
77 lines (51 loc) · 1.92 KB

README.md

File metadata and controls

77 lines (51 loc) · 1.92 KB

2048 Game

A web-based implementation of the popular 2048 game, built with Next.js.

Table of Contents

Demo

Check out the live demo: 2048 Game

Screnshot

Features

  • Classic 2048 gameplay
  • Smooth animations and responsive design
  • Keyboard and swipe gestures support
  • Score tracking

Technologies

Installation

To run this project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/salimzeeshan/2048.git
    cd 2048-game
  2. Install dependencies:

    npm install
  3. Run the development server:

    npm run dev
  4. Open your browser and navigate to http://localhost:3000.

Usage

  • Use the arrow keys or WASD keys or arrow keys to move the tiles.
  • Combine tiles with the same number to merge them into a higher number.
  • Swipe gestures are supported on touch devices.

Contributing

Contributions are welcome! If you have suggestions for improvements or new features, please open an issue or submit a pull request.

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-branch)
  3. Make your changes
  4. Commit your changes (git commit -m 'Add some feature')
  5. Push to the branch (git push origin feature-branch)
  6. Open a pull request

Developed by Mohammad Zeeshan Salim