Skip to content

Anthony01M/drag-and-drop-puzzle-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drag-and-Drop Puzzle Game

This project is a Drag-and-Drop Puzzle Game that allows users to upload an image, specify the number of puzzle pieces, and then solve the puzzle by dragging and dropping the pieces into the correct positions. The application also includes features such as particle animations in the background for visual enhancement.

Features

  • Upload an image to create a custom puzzle.
  • Specify the number of puzzle pieces.
  • Drag and drop puzzle pieces to solve the puzzle.
  • Particle animation background.
  • Responsive design.

Technologies Used

Installation

  1. Clone the repository:
    git clone https://github.com/Anthony01M/drag-and-drop-puzzle-game.git
  2. Navigate to the project directory:
    cd drag-and-drop-puzzle-game
  3. Open index.html in your browser to view the application.

Usage

  1. Upload an image using the file input.
  2. Specify the number of puzzle pieces using the number input.
  3. Click the "Start Game" button to generate the puzzle.
  4. Drag and drop the puzzle pieces to their correct positions.
  5. Click the "Restart" button to reset the game and upload a new image.

License

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


This project is part of my portfolio. Feel free to check out my other projects on GitHub.