Archive for the ‘Games’ Category

Jigsaw Puzzle

I created the very basic engine back in 2007. That was only to make the puzzle pieces from an image. But never really felt like completing the game (I’m too lazy)! Anyway, I decided to have a go at it and following is the result of my past couple of days’ work. There’s a lot to be done/ fixed though. The puzzle pieces are generated programmatically. There are no fixed/ static masks/ shapes. So there’s actually no limitation of the image size. And the images can be broken into any number of pieces. The larger the image and the more the puzzle pieces, the higher the pieces generation time. Currently I used a 400×400 image and broke it into 64 (8×8) pieces.
Of course, there are some scope of optimization in the code. But all I wanted is getting a playable demo ready in as little time as possible. And the end result is not quite bad I guess ;)

Anyway, the to-dos are:
1. Allow uploading custom image
2. Logging player scores

(Click to launch the demo)

Image Hosted by ImageShack.us

Posted: May 4th, 2009
at 9:08pm by Kayes

Tagged with , , , ,


Categories: Games

Comments: 7 comments