A classic 15-tile sliding puzzle game built with Python and Turtle graphics. Arrange the scrambled tiles into the correct order by clicking on tiles adjacent to the empty space.
- Click on any tile that is next to the blank space to slide it into the empty spot
- Keep sliding tiles until they are all arranged in the correct order (1 to 15, left to right, top to bottom)
- The timer starts when the game launches — try to solve it as fast as possible!
- Your move count is displayed so you can challenge yourself to solve it in fewer moves
(Add a screenshot of your game here)
- Python 3.x
- No extra libraries needed — uses Python's built-in
turtlemodule
sliding-game/
├── images/
│ ├── 1.gif
│ ├── 2.gif
│ ├── 3.gif
│ ├── 4.gif
│ ├── 5.gif
│ ├── 6.gif
│ ├── 7.gif
│ ├── 8.gif
│ ├── 9.gif
│ ├── 10.gif
│ ├── 11.gif
│ ├── 12.gif
│ ├── 13.gif
│ ├── 14.gif
│ ├── 15.gif
│ ├── blank.gif
│ └── win.gif
├── main.py
└── README.md
- Make sure Python is installed on your computer
- Clone or download this repository
- Make sure the
images/folder is in the same directory asmain.py - Run the game:
python main.py- 4x4 grid with 15 numbered tiles and one blank space
- Live timer showing minutes and seconds
- Move counter
- Tiles are randomly shuffled at the start of every game
- Win screen displayed when the puzzle is solved
(Add your name here)