Mahjongg clone

Play with your Puppy.
Post Reply
Message
Author
ndujoe1
Posts: 851
Joined: Mon 05 Dec 2005, 01:06

Mahjongg clone

#1 Post by ndujoe1 »

I downloaded the following Mahjongg cone fro Tucows. I attempted to install it but the operation said that I did not have the proper cc, which I assume is a C+ compiler.

Would an enterprising Puppy Linux user with these tools compile and make a Pup version of this game. If that is doable. thanks.

syzygy
Posts: 76
Joined: Sun 03 Jul 2005, 10:57
Location: wollongong

#2 Post by syzygy »

i've compiled xmahjongg but, instead of making as a dotpup, i've used makeself.sh script to make it as a self-extracting bzipped executable.

i've upx'ed it & kept only the gnome tileset, getting it down to 412kbytes.

it runs fine on my puter. my only question is where would i upload it to?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#3 Post by MU »

attach it to a personal message to me, and I will add it to dotpups.de
You also can attach programs up to 1 MB to a forum-message.

Mark

syzygy
Posts: 76
Joined: Sun 03 Jul 2005, 10:57
Location: wollongong

#4 Post by syzygy »

you're very quick mark. i'd never even noticed the "add attachment" button before!

here it is. i've bzipped it as when i sent to somebody unzipped it lost executable permissions. hopefully it still works!

didn't realise that makeself.sh has a "--nox11" option so that console window isn't created. have amended to include this.

cheers
Last edited by syzygy on Fri 30 Dec 2005, 09:23, edited 2 times in total.

syzygy
Posts: 76
Joined: Sun 03 Jul 2005, 10:57
Location: wollongong

#5 Post by syzygy »

how come the bzip2 extension is disallowed for file postings?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#6 Post by MU »

best is tar.gz

syzygy
Posts: 76
Joined: Sun 03 Jul 2005, 10:57
Location: wollongong

re: gsoko

#7 Post by syzygy »

i've done same thing for gsoko & it appears to work ok.

again i've added the --nox11 option to makeself.sh, so doesn't create console window.
Attachments
gsoko.tar.gz
(66.19 KiB) Downloaded 1691 times
Last edited by syzygy on Sat 09 Sep 2006, 12:01, edited 1 time in total.

syzygy
Posts: 76
Joined: Sun 03 Jul 2005, 10:57
Location: wollongong

#8 Post by syzygy »

following rarsa's post about using "strip -s", followed by upx, to reduce the size of a binary following make, i applied same to xmahjongg.

(see http://www.murga.org/%7Epuppy/viewtopic ... ight=strip)

this gave a fourfold reduction in size so i've reposted the xmahjongg.tar.gz file.

i tried similar with gsoko binary but difference was neglible so kept the original file as is.
Attachments
xmahjongg.tar.gz
(103.28 KiB) Downloaded 1446 times

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

#9 Post by muggins »

Following on from a query, from koolie, here's a .pet of xmahjongg. To run, Menu->Fun->Xmahjongg.
Attachments
xmahjongg-3.7.pet
(99.88 KiB) Downloaded 2213 times
xmahjongg.jpg
(37.83 KiB) Downloaded 6815 times
Last edited by muggins on Wed 17 Mar 2010, 10:57, edited 1 time in total.

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

Mahjongg clone

#10 Post by koolie »

ah, muggins, you are over here now.

Thankyou for the dotpet. We are spoiled for choice now.
You are undoubtedly the king of games, and you have such an excellent filing system too.
Are you able to put your finger on a good CHESS game
that you could share with us?
If it is not a dotpet, that is ok, I can make one.

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

#11 Post by muggins »

koolie,

I know that GuestToo has a .pup for gnuchess available on this page here:

http://puppylinux.org/wikka/DotPups

Note that this is a commandline chess engine, but that a gui frontend, eboard, is available on the same page.

I've got another frontend, linechec, here:

http://www.murga-linux.com/puppy/viewtopic.php?t=21623

Does anyone know of any others?

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

#12 Post by koolie »

Thankyou, my friend.
I knew you would deliver.

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

#13 Post by muggins »

koolie,

Plus I forgot that gtkboard has available both a chess game, plus Antichess:

http://www.murga-linux.com/puppy/viewtopic.php?t=8449

Plus, look in this list for mahjongg variants reported as working with wine:

http://appdb.winehq.org/appbrowse.php?iCatId=78

jonyo

#14 Post by jonyo »

muggins wrote:I've got another frontend, linechec, here:
Tried this out in 2.15, opens up, click on a pawn & try to drag it to another position - poof.. game is gone..

Any dragging (mighty touchy) causes a crash. Figured out that you click on a piece & then click an appropriate location.

Tried the other frontend..can't figure out how to move a piece..:P Dragging works but the piece returns to the original spot. :? (using - gnuchess507.pup)

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

#15 Post by muggins »

Yes Jonyo,

linechec is very frisky! Also, although I'm quite ignorant of the nuances of chess, my French is worse! So I could never work out how to set the gnuchess opponent as the default.

So, at the moment, when you start up, to manually play against gnuchess, you need to select from the menu:

Arreter Gnuchess.

And you need to wait awhile after your move, as gnuchess considers the next response.

As to using Eboard. I've never used it so I'm not sure. We'll have to put that one down as a stalemate.Image

jonyo

#16 Post by jonyo »

Success :!: Moved a pawn in Eboard. Just need to go back now & figure out how I managed that.. :)

Tried the other again, worse now..click anywhere..poof.. :(

Edit - Gnuchess has responded with a move. :) Looks like a game is on..

Post Reply