Tcl/tk based mahjongg

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

Tcl/tk based mahjongg

#1 Post by muggins »

If you have tcl/tk installed, then B.D.Kibler has written this mahjongg version.

bugman

#2 Post by bugman »

note, i only got it to work by replacing the first line:

Code: Select all

#!/home/ptc-nfs/bdkibler/bin/wish
with this:

Code: Select all

#!/bin/sh
# the next line restarts using tclsh \
exec wish "$0" "$0 $@"
i have no idea why, as i am not a programmer, i just copied what started my other tk/tcl games

thanks for posting this, i can never get enough mahjongg!

User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#3 Post by 8-bit »

Another simple way is to make the file executable and then right-click on it, select Set Run Action and type "wish" preceding the text already shown.

User avatar
WarMocK
Posts: 169
Joined: Thu 05 Jul 2007, 11:53

#4 Post by WarMocK »

Oh great. I downloaded it, fixed the header of the script, started it - and played it for a few hours. xD
Thank you so much for sharing it. Mahjongg's always been my favourite mini game. Hmm, I probably could add it in K-9 Linux. I don't have any games implemented yet, but that game might make me reconsider that decision. ;-)

Post Reply