Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puzzle Game

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.

Features

  • 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.

Requirements

  • Python 3
  • PyQt6

Installation

  1. Clone the repository:

    git clone https://github.com/RockurDev/PuzzleGame.git
    cd PuzzleGame
  2. Install dependencies:

    pip install -r requirements.txt
  3. Run the game:

    python main.py

Usage

  • 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.

Contributing

Contributions are welcome! If you want to contribute, please fork the repository and create a pull request.

About

Sliding puzzle game implemented by using PyQt6

Resources

Stars

1 star

Watchers

1 watching

Forks

Used by

Contributors

Languages