- This repository contains a reimplementation of the popular 2048 game, built using modern web technologies.
- 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.
- Node.js: Install Node.js (v14 or higher recommended).
- npm or Yarn: Ensure you have a package manager installed.
- Git: Git must be installed and configured.
-
Clone this repository:
git clone https://github.com/ankurjaiswalofficial/game-2048.git cd game-2048
-
Install dependencies for the game:
npm install
-
Start the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:3000
. -
To build the project for production:
npm run build npm start
- Game Issues: Ensure all dependencies are installed and the development server is running.
This project is licensed under the MIT License. See the LICENSE
file for details.
Feel free to submit issues or pull requests to improve the game or the script.
- Developed by Ankur Jaiswal.
- Source code available at ankurjaiswalofficial/game-2048.