Skip to content

This project is a graphical implementation of the game 8-Puzzle on Python using Tkinter. Player can drag tiles to solve a puzzle, enter their initial state or generate random.

Notifications You must be signed in to change notification settings

barni300/8puzzlegame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

8puzzlegame

This project is a graphical implementation of the game 8-Puzzle on Python using Tkinter. Player can drag tiles to solve a puzzle, enter their initial state or generate random.

🧩 Project overwiev

A simple implementation of the classic 8-Puzzle game in Python using Tkinter.
The player can move tiles by clicking on them, shuffle the board randomly, or set a custom initial state.

✨ Features

  • 🔀 Random shuffling of tiles
  • 🎮 Move tiles by clicking (only valid moves allowed)
  • ⌨️ Input a custom starting state through the text field
  • 🖥️ Easy-to-use graphical interface with Tkinter

🚀 How to Run

  1. Install Python 3.
  2. Clone this repository or download the 8puzzlegame.py file.
  3. Run the game:
    python 8puzzlegame.py
    

Game screenshot

About

This project is a graphical implementation of the game 8-Puzzle on Python using Tkinter. Player can drag tiles to solve a puzzle, enter their initial state or generate random.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages