This PyQt6 application implements a classic sliding puzzle game. It allows players to choose from various images and rearrange shuffled tiles to recreate the original image.
- Tile Shuffling: Tiles are shuffled at the start of the game.
- Image Selection: Players can choose from a variety of images.
- Timer and Moves Counter: Tracks the time elapsed and number of moves made by the player.
- Restart Option: Allows players to restart the game at any time.
- Win Detection: Detects when the tiles are arranged in the correct order.
- Python 3
- PyQt6
-
Clone the repository:
git clone https://github.com/RockurDev/PuzzleGame.git cd PuzzleGame -
Install dependencies:
pip install -r requirements.txt
-
Run the game:
python main.py
- Upon launching the game, choose an image from the dropdown menu.
- Click on tiles adjacent to the empty space to move them.
- Try to recreate the original image by rearranging the tiles.
- Use the restart button to reset the game.
Contributions are welcome! If you want to contribute, please fork the repository and create a pull request.