Skip to content

ankurjaiswalofficial/game-2048

Repository files navigation

Game 2048

  • 1742678524079
  • This repository contains a reimplementation of the popular 2048 game, built using modern web technologies.

Workflow

  • 1742678500398

Features

Game 2048

  • Built with Next.js, React.js, Redux Toolkit, TypeScript, and Tailwind CSS.
  • Uses only functional components, avoiding canvas or element refs.
  • Fully responsive and optimized for modern browsers.

Prerequisites

For the Game

  1. Node.js: Install Node.js (v14 or higher recommended).
  2. npm or Yarn: Ensure you have a package manager installed.

For the Script

  1. Git: Git must be installed and configured.

Installation

  1. Clone this repository:

    git clone https://github.com/ankurjaiswalofficial/game-2048.git
    cd game-2048
  2. Install dependencies for the game:

    npm install

Running the Game

  1. Start the development server:

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

  3. To build the project for production:

    npm run build
    npm start

Look -> (Themed)

  • Dark

  • 1742677529124

  • Light

  • 1742677578762

Troubleshooting

  • Game Issues: Ensure all dependencies are installed and the development server is running.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Feel free to submit issues or pull requests to improve the game or the script.

Acknowledgments