Create and Solve your own Jigsaw Puzzle - Code in Place (Stanford CS106A)

by Julia L


This program allows a user to customize, then solve, their own jigsaw puzzle (where the pieces are tiles). First, the program asks the user for an image and number of pieces inputs (if none are entered, the program provides defaults). Next, the program crops the image into pieces, randomly arranges them on the canvas, and finally, allows the user to drag the pieces to solve their puzzle.