freecell: Tcl-based card game

Play with your Puppy.
Post Reply
Message
Author
muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

freecell: Tcl-based card game

#1 Post by muggins »

http://www.talvo.com/tcl-code.php

This version is different from the .pet on the puppy ibiblio site, and has just been updated by the developer. Extract the archive to /, and start by entering freecell in a console, or clicking on /usr/bin/freecell.
Attachments
freecell.jpg
(34.61 KiB) Downloaded 4020 times
freecell-1.1.tar.bz2
(94.12 KiB) Downloaded 1624 times

koolie
Posts: 518
Joined: Mon 12 Mar 2007, 06:38

freecell: Tcl-based card game

#2 Post by koolie »

Being an old Freecell user since Win32s, I must say that
this is the best copy of the original that I have seen.
I have made a dotpup of it for those not comfortable with compressed packages.
Should I upload it, or would I be stealing your thunder?

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#3 Post by muggins »

Hi koolie,

No, please feel free. For small programs like this, where there's only the one file, I usually don't bother making an official package. As hairywill pointed out awhile back, if you created a menu item for every game & other small, seldom used app, we would have a very cluttered menu.

Also I didn't mention that there is one discrepancy in the game, in that when you start your first game, if you check the game stats, you've already lost 1 game!

If anyone wants to have a look, the program is written in tcl, so you can open it in a text editor and see if there is a logical error in the code somewhere. The only alteration I made was to comment out line 658, to allow the window to resize. But unfortunately the actual cards stay the same size, so there's no advantage with higher screen resolutions.

koolie
Posts: 518
Joined: Mon 12 Mar 2007, 06:38

freecell: Tcl-based card game

#4 Post by koolie »

I agree with the logic of not making unnecessary dotpups,
but I feel that Freecell is such a popular game that it is worth doing.
I think a lot of ppl will appreciate it.
Attachments
Freecell.pup
(102.16 KiB) Downloaded 1521 times

hobbit
Posts: 14
Joined: Fri 30 Sep 2005, 11:45
Location: UK

#5 Post by hobbit »

I've been looking to see if there was a Freecell out there that I could use with Puppy (I'm running a full install of version 3.00)......

I downloaded and ran the program - no problem....... I kept forgetting I was running Puppy, it is soooooooo close to the windoze version.....

Nice.........Very Nice......

Not sure if Muggins is the author........if so.....thanks for a great version of the game.....

.....if not, thanks for the post pointing it out.
I survived "The Grind"

tqwe
Posts: 52
Joined: Sun 06 Jan 2008, 02:04
Location: Ontarto,Canada

freecell

#6 Post by tqwe »

thankyou for freecell, used the dot pup worked on 2.14 with ezpup3.thanks again. as an after thought is there a mahong for 2.14 or 3.01 my life partner likes this game, i am slowly converting her to puppy,thanks http://dotpups.de/dotpups/Games/ muggins posted this link on another post, found mahong, lifepartner happier thank you sometimes you just have to dig a little deeper thanks muggins. :)

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#7 Post by muggins »


muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#8 Post by muggins »

By the way, for any real mahjongg tragics, I deleted most of the tilesets, & layouts, of the xmahjongg I uploaded to the forum.

Anyone that wanted the full caboodle, please see here:

http://www.tikmark.com/Mohave/mohave.html

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#9 Post by Geoffrey »

I was looking for a copy of freecell and found this, I can't pick the difference between it and the windows version.

I've made a pet for it so it has a menu entry and icon.
Attachments
freecell-1.1.pet
(93.67 KiB) Downloaded 1380 times

User avatar
Colonel Panic
Posts: 2171
Joined: Sat 16 Sep 2006, 11:09

#10 Post by Colonel Panic »

Just installed this now (along with the Tcl libraries, which are necessary) and it not only works, but has a function to select new games by their game number!

It's nearly as good as the Windows version of this game, and much better than the Gnome version, which doesn't allow you to do this or to save the game so if you have a crash when playing, hard luck. So, thanks for this one.
Gigabyte M68MT-52P motherboard, AMD Athlon II X4 630, 5.8 GB of DDR3 RAM and a 250 GB Hitachi hard drive running Ubuntu 16.04.6, MX-19.2, Peppermint 10, PCLinuxOS 20.02, LXLE 18.04.3, Pardus 19.2, exGENT 200119, Bionic Pup 8.0 and Xenial CE 7.5 XL.

oigle
Posts: 18
Joined: Sun 27 Sep 2009, 21:40

games

#11 Post by oigle »

This has been very distressing to me
Once i had the .pet work, great, i used it while waiting on the phone ' your call is ...'
but i updated puppy and although i could intall it and it showed on FUN it would not run!
updated puppy and .pet wouldnt work but got the .tar to work by going to /user/bin.
I am now using 5.4, nothing works.
I tried to get the Tcl libraries and installed?? tlc8.5_8.5.11 and tcl_8.50-2
I may have a gross error
I saved my .2sf to an ext 2 partition which magically became HOME
I keep everything on HOME
( mickos versions of puppy have a habit of going beserk and completely filling the .2sf file. it is fixible, but.)
perhaps the HOME partition is the woong place to put freecell.
gweld works

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

Re: games

#12 Post by Geoffrey »

oigle wrote:This has been very distressing to me
Once i had the .pet work, great, i used it while waiting on the phone ' your call is ...'
but i updated puppy and although i could intall it and it showed on FUN it would not run!
updated puppy and .pet wouldnt work but got the .tar to work by going to /user/bin.
I am now using 5.4, nothing works.
I tried to get the Tcl libraries and installed?? tlc8.5_8.5.11 and tcl_8.50-2
I may have a gross error
I saved my .2sf to an ext 2 partition which magically became HOME
I keep everything on HOME
( mickos versions of puppy have a habit of going beserk and completely filling the .2sf file. it is fixible, but.)
perhaps the HOME partition is the woong place to put freecell.
gweld works
Did you install "tk" as well, I had the same problem in Carolina, I found that I needed to create a symlink ln -s /usr/bin/wish8.5 /usr/bin/wish

Try typing "freecell" in a terminal, that should give you a clue as to what the problem may be, if you get a message like this then either tk isn't installed or a symlink is missing.

Code: Select all

# freecell
bash: /usr/bin/freecell: /usr/bin/wish: bad interpreter: No such file or directory
Hope this is of some help to you.
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#13 Post by muggins »

Or maybe try using tcl_tk_games.sfs (3.12 Mbytes)

Save to /mnt/home, then right-click>sfs_load.

Besides freecell it has these other tcl solitaires:

once-in-a-lifetime, tkhearts, tksol, scat, TkSpider
tktk & tktp.

Plus asteroids, tktris, Bubbles, polypuzzle, tkyahtzee,
Collapse, wordjumble, sudoku, Gemgame & tkhangman.

Edit: Re-uploaded version that works with slacko.
Last edited by muggins on Mon 07 Jan 2013, 12:54, edited 2 times in total.

oigle
Posts: 18
Joined: Sun 27 Sep 2009, 21:40

the squish file is - odd?

#14 Post by oigle »

thanks muggins
but firstly I updated to micko slacko 5.4 and hoped--- you never know.
but Freecell didn't work, so i tried tck_qt-games.sfs, it wont work as it i have the wrong version of the kernel.
the utilities>> version converter wont do the job either,oh well.

thanks geofery
I am in caloundra so at least there is someone else using puppy in Qld.
I get exactly what you show.
where do i download tk from?
then what do i do?
the ppm and i have a hate-hate relationship that is at least 5 years old
I can't find tk there.
a couple versions ago there was a quick icon on the desktop which even showed .sfs that might be compatable, but that icon is gone, maybe some one made it into a pet or maybe getting the right .pet so easy everyone, but me, has no problems. freecell -- sigh.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#15 Post by muggins »

@oigle,

see above...i've reuploaded a version that works on slacko-pae & lupu528.

cheers

oigle
Posts: 18
Joined: Sun 27 Sep 2009, 21:40

Thanks

#16 Post by oigle »

Thank you.
that new version of the tcl_tk_games.sfs did the trick.
It works great on slacko 5.4.
This - use of the forum - has been a great leap forward for me.
I am going to tackle printing again. About a year ago i tried the rs51 (i think) method. i will try again and annoy him.
thanks again.

BeLinux
Posts: 6
Joined: Wed 26 Jun 2013, 10:24
Location: Belgium

French

#17 Post by BeLinux »

Hello,

I did install tcl_tk_games.sfs on racy 5.5, with french language pack.
Freecell works OK
I can even choose French as language.
However, Freecell forgets my choice when I quit the game.

How can I make my Freecell language choice persistent ?

TIA.

BeLinux

BeLinux
Posts: 6
Joined: Wed 26 Jun 2013, 10:24
Location: Belgium

Re: French

#18 Post by BeLinux »

UP
BeLinux wrote:Hello,

I did install tcl_tk_games.sfs on racy 5.5, with french language pack.
Freecell works OK
I can even choose French as language.
However, Freecell forgets my choice when I quit the game.

How can I make my Freecell language choice persistent ?

TIA.

BeLinux

Post Reply