/8-puzzle-react

This is a 8 puzzlle game made in react and tailwind. The main motive was to make the core logic for game

Primary LanguageJavaScript

8 Puzzle Game

This is a simple 8 Puzzle Game built with React and Tailwind CSS.

Table of Contents

Installation

  1. Clone the repository:

    git clone https://github.com/garvittsingla/8-puzzle-react.git
  2. Navigate to the project directory:

    cd 8-puzzle-react
  3. Install the dependencies:

    npm install

Usage

  1. Start the development server:
    npm run dev
  2. Open your browser and navigate to http://localhost:3000. Features
    1. Shuffle and reset the puzzle
    2. Track the number of moves
    3. Confetti animation on winning
    4. Responsive design