Puzzle

You are supposed to create a puzzle from an image. Then break the image into small pieces, similar to the ones shown in the figure below, mix the randomly, and show them along the right hand side of the puzzle reconstruction area. Your division into parts of the original image, should not exceed 15 pieces vertically and 20 horizontally.

Each piece can be rotated around its center, using the mouse and draggable to a sticky position o the destination canvas.

Counters for misplaced and correctly placed pieces should be shown in a suitable place, together with a timer showing the elapsed time since game start.

For working with pouzzle pieces have a look at http://java.sun.com/docs/books/tutorial/2d/advanced/clipping.html