Skip to content

theArtistSam/Python-PuzzlePygame-Project

Repository files navigation

3x3 Puzzle Game using Pygame

Screenshots

Game Screenshot

Description

This is a simple 3x3 puzzle game built using Python and the Pygame library. The game allows players to solve a classic 3x3 sliding puzzle by rearranging tiles in the correct order. The goal is to rearrange the tiles to form the original image.

Features

  • Interactive and intuitive interface.
  • Click and drag functionality for tile movement.
  • Randomized initial tile arrangement for a unique experience each time the game starts.
  • Timer to track the player's solving time.
  • Move counter to keep track of the number of moves taken.

How to Play

  1. Clone the repository to your local machine.
  2. Ensure you have Python and Pygame installed on your system.
  3. Run the Smile_Puzzle.py file to start the game.
  4. Click and drag a tile adjacent to the empty space to move it into the empty slot.
  5. Rearrange the tiles until the original image is formed.
  6. The timer and move counter will keep track of your progress.

Installation

pip install pygame

Contributing

Contributions are welcome! If you find any bugs or have suggestions for improvements, feel free to open an issue or submit a pull request.

Note: The images used in this game are for demonstration purposes only and should not be used for any commercial purposes without proper attribution to the original creators.

Enjoy the game and have fun solving the puzzle! 😄

About

This is my first semester project that uses pygame library to create the a simple 3x3 slide puzzle game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages