Skip to content

ray-singh/Sliding-Puzzle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sliding-Puzzle

A classic sliding puzzle game implemented in Python using the Pygame library. Arrange the tiles in order by sliding them into the empty space. This project provides an interactive graphical user interface with audio feedback.

Features

-Responsive GUI with a sleek design.

-Shuffle the tiles at the start of the game.

-Real-time tile movement with hover effects.

-Audio feedback upon selecting number tiles.

-Keeps track of the number of moves made.

-Detects when the puzzle is solved and displays a victory message.

How to Play

  1. Click on a number tile to select it.
  2. Move the selected tile by clicking and dragging it to the adjacent empty space.
  3. Release the mouse button to drop the tile into the empty space.
  4. The game keeps track of your moves, and you win when all tiles are in order.

Dependencies

Python

PyGame

License

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

Acknowledgments

  • The Pygame library for making game development in Python accessible.

  • FreeSound for providing the audio clip used in the game.

  • This GeeksForGeeks tutorial which helped me significantly in understanding and developing a digital sliding number puzzle.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages