No description
Find a file
2025-12-06 16:56:03 +01:00
data Removed print debugging 2025-12-06 16:55:59 +01:00
LICENSE Jigsaw game prototype for storage and access. 2025-11-28 15:04:47 +01:00
main.py Jigsaw game prototype for storage and access. 2025-11-28 15:04:47 +01:00
README.md Clarify image size limit to 800x800 in README 2025-12-06 16:50:51 +01:00

PythonJigsaw01

A simple jigsaw puzzle game built with Python, PyQt5, and Pillow.
Load any image (below 800x800 size), split it into pieces, and manually assemble them - pieces snap together and cluster when placed near each other.


Features

  • Load a custom image and divide it into a configurable number of pieces.
  • Pieces are shuffled randomly on the canvas.
  • Drag and drop pieces with the mouse.
  • Pieces “snap” to neighbors when aligned - forming clusters that move together.
  • Settings persist via a JSON config (e.g., background color, puzzle size).
  • Supports different image & puzzle sizes (within reasonable limits).

Demo / Screenshots

Screenshot 2025-12-06 164542

Requirements


Installation

git clone https://github.com/serialexperiments0815/PythonJigsaw01.git
cd PythonJigsaw01
pip install PyQt5 Pillow

Usage

python main.py