Version 21 of Jigsaw Puzzler

Updated 2005-02-21 18:57:15 by LES

David Easton 05 Jan 2005

Jigsaw Puzzler is a jigsaw puzzle game. It allows jigsaws to be created, saved, loaded and played. I started writing it over a year ago to learn more about using the canvas.

The windows executable version uses tile and so has a native look on Windows.

http://myweb.tiscali.co.uk/davidelizabeth/tcl/jigsaw/jigsaw.jpg http://myweb.tiscali.co.uk/davidelizabeth/tcl/jigsaw/create.gif

I expect to provide some jigsaws to download from the link below soon.

It is freely available from: http://myweb.tiscali.co.uk/davidelizabeth/tcl/jigsaw/index.html

PWQ 6 Jan 2005 , could not find email address for DPE, under linux if you browse and load a file. you get an error when generating the jigsaw. This is because the tk file dialog window still exists. The fix is to ignore this window during statechange. Fore example:

 proc stateChange { w mode } {
    global sc
    if {![info exists sc(init)]} {
        stateChangeInit
    }
        if {[string first {__tk_filedialog} $w] != -1 } {return}   
    set class [winfo class $w]
    ...

DPE 8 Jan 2005 Thanks PWQ, I've uploaded a new version (0.8) of jigsaw.kit including this fix and have tested it on Windows XP and HPUX. BTW, email is deaston at airspan dot com

WJG 7 Jan 2005 Just downloaded Jigsaw Puzzler, my four year old really loves it. Nice one!

DPE 7 Jan 2005 Glad you like it - thanks for the feedback.

HZe 8 Jan 2005 That's really cute! I love it. While playing, I had some extensions in mind I would like to share. Perhaps they can easily be added:

  • add 90��° rotation as option to make it more difficult (only as option)
  • add selecting a group of pieces to move them all togehter (nice to have; this is useful, if you first start to sort some of the pieces by color or so and you want to move all of them together out of the way)
  • add a preview of the image while playing
  • make it possible to change the background while playing (it's difficult to judge what background would be perfect for everybody)

It must be perfect to play this on a touchscreen...

DPE 21 Feb 2005 Thanks for the feedback. These are good ideas that I have considered adding and will put in if I develop this any further.

LES: This game works for me in Windows, but I can't save or load puzzles in Linux. Whenever I try, I get this message:

 Error in constructor:
 "::jigsaw-play::cfg1 configurelist" is not defined

DPE 21 Feb 2005 I've tested this under Windows and HPUX 11.11 using tclkit 8.4.9 and do not see a problem. I don't currently have a Linux machine to test against. The error message sounds like an error in my cfg package or snit. Which version of tclkit are you using?

LES I don't run it with Tclkit. I run with ActiveTcl 8.4.9.

JAG, 21-Feb-05 - Very cool app... My daughter loves it... Nicely done... I've used it on both WinXP Pro and Win98 without errors of any kind, though I did discover what appears to be a small bug. When loading a puzzle (Jigsaw | Open), the "Percentage of Completion" shown at the bottom of the screen seems to be overestimated. For instance, a puzzle that was saved in an entirely completed state will reload and show "144% Complete". A puzzle that was saved with 0% completion reloads as "2% Complete". Oh, one more thing - internally, in the "help" proc, it appears that Jigsaw was authored by me, and beta tested by my daughter. You might want to update that text... ;^)


[ Category Games ]