MG Nov 26 2007 - Quite some time ago, I wrote a copy of Freecell, one of the card games shipped with Windows XP (and other versions, I think) with a friend of mine. I've finally gotten around to uploading the code, which you can find on my website (http://www.talvo.com/tcl-code.php ) as it's rather large for a wiki page.
It's pretty similar to the Windows version, though is definitely missing at least one feature: when you move cards, it always moves the most it can, rather than giving you the choice between moving a single card/the column.
The friend I wrote it with is also multi-lingual, so it runs in four different languages, using msgcat.
Comments, criticisms, suggestions for improvement, etc, welcome as ever.
IDG Nov 26 2007 - Nice - unlike the version that comes with Suse Linux which is unplayable. However SystemButtonFace is an unknown colour under Linux, so I had to change this before statistics would display.
MG Thanks; I'd only tried it on Windows. I've updated that now to use
$toplevel cget -background
to get the correct background colour, which should work on all platforms, I think.
IDG Nov. 27 - I think there are some bugs in the statistics code, by the way. I managed to get a negative number of games lost at one point ...
MG I've not seen that problem, but I'll take a look at the code and see if I can see what might be causing it.
Category Games |
---|